NotModifiedResponse
Overview
Usage
- Node
- Deno
- Browser/ESM
import { NotModifiedResponse } from 'keywork/http/classes'
import { NotModifiedResponse } from 'https://deno.land/x/keywork/http/classes'
let { NotModifiedResponse } = await import('https://esm.sh/keywork/http/classes')
Hierarchy
Response
↳
NotModifiedResponse
Constructors
constructor
new NotModifiedResponse
(etag)
Parameters
Name | Type |
---|---|
etag | string |
Overrides
Response.constructor
Defined in
http/classes/NotModifiedResponse.ts:24
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.