OutgoingHttpHeaders - Node documentation
interface OutgoingHttpHeaders
extends [NodeJS.Dict]<OutgoingHttpHeader>

Usage in Deno

import { type OutgoingHttpHeaders } from "node:http2";

Properties

optional
accept:
string
| string[]
| undefined
optional
accept-charset:
string
| string[]
| undefined
optional
accept-encoding:
string
| string[]
| undefined
optional
accept-language:
string
| 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
authorization: string | undefined
optional
cache-control: string | undefined
optional
cdn-cache-control: string | undefined
optional
connection:
string
| string[]
| undefined
optional
content-disposition: string | undefined
optional
content-encoding: string | undefined
optional
content-language: string | undefined
optional
content-length:
string
| number
| undefined
optional
content-location: string | undefined
optional
content-range: string | undefined
optional
content-security-policy: string | undefined
optional
content-security-policy-report-only: string | undefined
optional
dav:
string
| string[]
| undefined
optional
dnt: 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-range: string | undefined
optional
if-unmodified-since: string | undefined
optional
last-modified: string | undefined
optional
location: string | undefined
optional
max-forwards: string | undefined
optional
origin: string | undefined
optional
prgama:
string
| string[]
| undefined
optional
proxy-authenticate:
string
| string[]
| undefined
optional
proxy-authorization: string | undefined
optional
public-key-pins: string | undefined
optional
public-key-pins-report-only: string | undefined
optional
range: string | undefined
optional
referer: string | undefined
optional
referrer-policy: string | undefined
optional
refresh: string | undefined
optional
retry-after: string | undefined
optional
sec-websocket-accept: string | undefined
optional
sec-websocket-extensions:
string
| string[]
| undefined
optional
sec-websocket-key: string | undefined
optional
sec-websocket-protocol:
string
| string[]
| undefined
optional
sec-websocket-version: string | undefined
optional
server: string | undefined
optional
strict-transport-security: string | undefined
optional
te: string | undefined
optional
trailer: string | undefined
optional
transfer-encoding: string | undefined
optional
user-agent: string | undefined
optional
upgrade: string | undefined
optional
upgrade-insecure-requests: string | undefined
optional
vary: string | undefined
optional
via:
string
| string[]
| undefined
optional
warning: string | undefined
optional
www-authenticate:
string
| string[]
| undefined
optional
x-content-type-options: string | undefined
optional
x-dns-prefetch-control: string | undefined
optional
x-frame-options: string | undefined
optional
x-xss-protection: string | undefined