Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/keywork/http/headers/mod.ts

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Latest
import * as keywork from "https://deno.land/x/keywork@v6.2.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