Skip to main content
Module

x/http_utils/header.ts

HTTP implementation utility collection
Go to Latest
import * as httpUtils from "https://deno.land/x/http_utils@1.0.0-beta.10/header.ts";

Enums

Caching header represents a header filed for HTTP caching.

Representation header fields provide metadata about the representation.

Functions

Check two Headers field name and field value equality.

Weather the field is singleton field or not.

Merge two Headers object. The first Headers always takes precedence. When fields conflict, the first Headers takes precedence if it is a singleton field. If it is a list-based field and not empty, it is appended to the first Headers field. Invalid field names and field values are ignored. No destructive operation is performed on the arguments and returns a new Headers object.

Parse the header field value. Split field values by <quoted-string> or <token>.

Interfaces

Header merge options.

Type Aliases

Wellknown HTTP field name.

Custom merge definition.