import { etag } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/mod.ts?s=etag.calculate";
const { calculate } = etag;
Calculate an ETag value for an entity. If the entity is FileInfo
, then the
tag will default to a weak ETag. options.weak
overrides any default
behavior in generating the tag.
Parameters
optional
options: ETagOptions[src]