Skip to main content
Module

x/hono/middleware.ts>RETAINED_304_HEADERS

Web Framework built on Web Standards
Extremely Popular
Latest
variable RETAINED_304_HEADERS
import { RETAINED_304_HEADERS } from "https://deno.land/x/hono@v4.3.11/middleware.ts";

Default headers to pass through on 304 responses. From the spec:

The response must not contain a body and must include the headers that would have been sent in an equivalent 200 OK response: Cache-Control, Content-Location, Date, ETag, Expires, and Vary.

type

string[]