Skip to main content
Module

x/etag_parser/mod.ts

HTTP ETag header field parser
Latest
import * as etagParser from "https://deno.land/x/etag_parser@1.1.0/mod.ts";

Variables

v
parse
deprecated
v
stringify
deprecated

Functions

Strong comparison. Two ETag are equivalent if both are StrongETag and ETag.tag match character-by-character. Compliant with RFC 9110, 8.8.3.2. Comparison.

Weak comparison. Two ETag are equivalent if ETag.tag match character-by-character, regardless of either or both being tagged as ETag.weak. Compliant with RFC 9110, 8.8.3.2. Comparison.

Whether the ETag is StrongETag or not.

Whether the ETag is WeakETag or not.

Parses string into ETag.

Serialize ETag into string.

Interfaces

HTTP ETag header filed.

ETag with strong validator.

ETag with weak validator.

Type Aliases

Representation of <entity-tag>

Representation of <opaque-tag>.

Representation of weak ETag.