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

x/oak/headers.ts

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
import * as oak from "https://deno.land/x/oak@v12.6.2/headers.ts";

Functions

Asynchronously read the headers out of body request and resolve with them as a Headers object.

With a provided attribute pattern, return a RegExp which will match and capture in the first group the value of the attribute from a header value.

Unquotes attribute values that might be pass as part of a header.