interface IncomingHttpHeaders
extends [NodeJS.Dict]<string | string[]>
Usage in Deno
import { type IncomingHttpHeaders } from "node:http";
optional
accept: string | undefined
optional
accept-language: string | undefined
optional
accept-patch: string | undefined
optional
accept-ranges: string | undefined
optional
access-control-allow-credentials: string | undefined
optional
access-control-allow-headers: string | undefined
optional
access-control-allow-methods: string | undefined
optional
access-control-allow-origin: string | undefined
optional
access-control-expose-headers: string | undefined
optional
access-control-max-age: string | undefined
optional
access-control-request-headers: string | undefined
optional
access-control-request-method: string | undefined
optional
age: string | undefined
optional
allow: string | undefined
optional
alt-svc: string | undefined
optional
authorization: string | undefined
optional
cache-control: string | undefined
optional
connection: string | undefined
optional
content-disposition: string | undefined
optional
content-encoding: string | undefined
optional
content-language: string | undefined
optional
content-length: string | undefined
optional
content-location: string | undefined
optional
content-range: string | undefined
optional
content-type: string | undefined
optional
cookie: string | undefined
optional
date: string | undefined
optional
etag: string | undefined
optional
expect: string | undefined
optional
expires: string | undefined
optional
forwarded: string | undefined
optional
from: string | undefined
optional
host: string | undefined
optional
if-match: string | undefined
optional
if-modified-since: string | undefined
optional
if-none-match: string | undefined
optional
if-unmodified-since: string | undefined
optional
last-modified: string | undefined
optional
location: string | undefined
optional
origin: string | undefined
optional
pragma: string | undefined
optional
proxy-authenticate: string | undefined
optional
proxy-authorization: string | undefined
optional
public-key-pins: string | undefined
optional
range: string | undefined
optional
referer: string | undefined
optional
retry-after: string | undefined
optional
sec-websocket-accept: string | undefined
optional
sec-websocket-extensions: string | undefined
optional
sec-websocket-key: string | undefined
optional
sec-websocket-protocol: string | undefined
optional
sec-websocket-version: string | undefined
optional
set-cookie: string[] | undefined
optional
strict-transport-security: string | undefined
optional
tk: string | undefined
optional
trailer: string | undefined
optional
transfer-encoding: string | undefined
optional
upgrade: string | undefined
optional
user-agent: string | undefined
optional
vary: string | undefined
optional
via: string | undefined
optional
warning: string | undefined
optional
www-authenticate: string | undefined