import * as mod from "https://deno.land/std@0.205.0/http/mod.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
Returns an array of media types accepted by the request, in order of preference. If there are no media types supplied in the request, then any media type selector will be returned. | |
Returns an array of content encodings accepted by the request, in order of
preference. If there are no encoding supplied in the request, then | |
Returns an array of languages accepted by the request, in order of
preference. If there are no languages supplied in the request, then | |
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. | |
Set the cookie header with empty value in the headers to delete it | |
Parse cookies of a header | |
Parse set-cookies of a header | |
A helper function that takes the value from the | |
A helper function that takes the value from the | |
Set the cookie header properly in the headers |
Interfaces
I Cpu | |
Just the part of | |
I Os | |