import * as mod from "https://dotland.deno.dev/std@0.224.0/http/etag.ts";
Provides functions for dealing with and matching ETags, including
calculate
to calculate an etag for a given entity,
ifMatch
for validating if an ETag matches against a If-Match
header and ifNoneMatch
for validating an Etag against an
If-None-Match
header.
See further information on the ETag
header on
MDN.
Functions
Calculate an ETag for an entity. When the entity is a specific set of data it will be fingerprinted as a "strong" tag, otherwise if it is just file information, it will be calculated as a weak tag. | |
A helper function that takes the value from the | |
A helper function that takes the value from the |
Interfaces
Options for | |
Just the part of {@link |
Type Aliases
Represents an entity that can be used for generating an ETag. |