Skip to main content
Module

x/keywork/http/headers/mod.ts

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Go to Latest
import * as keywork from "https://deno.land/x/keywork@v6.0.1/http/headers/mod.ts";

Keywork includes utilities for working with common types HTTP headers, including...

  • Keywork#HTTP#Headers#Caching | Caching and managing ETags
  • Keywork#HTTP#Headers#ContentEncoding | Content Encoding
  • Keywork#HTTP#ContentType | Content Type
  • Content Security Policy
    • Keywork#HTTP#Headers#CSP#Directives | Directives
    • Keywork#HTTP#Headers#CSP#Policies | Policies

Functions

A somewhat simple user-agent parser.

Merges the given source headers into the destination.

Interfaces

Provides information about the context from which the request originated. This allows a server to make decisions about whether a request should be allowed based on where the request came from and how the resource will be used.

The UA client hints are request headers that provide information about the user agent and the platform/architecture on which it is running