import * as mod from "https://dotland.deno.dev/x/opine@2.2.0/deps.ts";
Classes
Create a new Accepts object for the given headers. | |
The | |
Used to construct an HTTP server. | |
c Sha1 |
Variables
Map from status code to status text. |
Functions
Given a media type return any default charset string. Returns | |
Given an extension or media type, return the full | |
Set the cookie header with empty value in the headers to delete it | |
Encode a URL to a percent-encoded form, excluding already-encoded sequences. | |
Escape special characters in the given string of text. | |
Check if a request's header has a request body.
A request with a body must either have | |
f isIP | |
Given an extension, lookup the appropriate media type for that extension.
Likely you should be using | |
Parses a URL query string into a collection of key and value pairs. | |
Create a | |
Read Reader | |
Create a | |
Set the cookie header properly in the headers | |
Check if the incoming request's header contains the "Content-Type"
header field, and it contains any of the give mime | |
f vary | Mark that a request is varied on a header field. |
Interfaces
Information about the connection a request arrived on. | |