import { factory } from "https://deno.land/x/oak@v17.1.2/middleware/etag.ts";
Create middleware that will attempt to decode the response.body into
something that can be used to generate an ETag
and add the ETag
header to
the response.
Type Parameters
optional
S extends State = Record<string, any>Parameters
optional
options: ETagOptions