Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hono/middleware/etag/index.ts

Web Framework built on Web Standards
Extremely Popular
Latest
import * as hono from "https://deno.land/x/hono@v4.3.11/middleware/etag/index.ts";

Variables

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.