Skip to main content

NotModifiedResponse

Overview

Given that a request's etag header matches an server entity or resource, a NotModifiedResponse should be sent to the requestor as an indication that the client's cache is still applicable.

Usage

import { NotModifiedResponse } from 'keywork/http/classes'

Hierarchy

  • Response

    NotModifiedResponse

Constructors

constructor

new NotModifiedResponse

(etag)

Parameters

NameType
etagstring

Overrides

Response.constructor

Defined in

http/classes/NotModifiedResponse.ts:24