Skip to main content

Interface: RequestHeaders

Extends

  • OutgoingHttpHeaders

Indexable

[key: string]: OutgoingHttpHeader | undefined

Properties

accept?

optional accept?: string | string[]

Inherited from

OutgoingHttpHeaders.accept


accept-charset?

optional accept-charset?: string | string[]

Inherited from

OutgoingHttpHeaders.accept-charset


accept-encoding?

optional accept-encoding?: string | string[]

Inherited from

OutgoingHttpHeaders.accept-encoding


accept-language?

optional accept-language?: string | string[]

Inherited from

OutgoingHttpHeaders.accept-language


accept-ranges?

optional accept-ranges?: string

Inherited from

OutgoingHttpHeaders.accept-ranges


access-control-allow-credentials?

optional access-control-allow-credentials?: string

Inherited from

OutgoingHttpHeaders.access-control-allow-credentials


access-control-allow-headers?

optional access-control-allow-headers?: string

Inherited from

OutgoingHttpHeaders.access-control-allow-headers


access-control-allow-methods?

optional access-control-allow-methods?: string

Inherited from

OutgoingHttpHeaders.access-control-allow-methods


access-control-allow-origin?

optional access-control-allow-origin?: string

Inherited from

OutgoingHttpHeaders.access-control-allow-origin


access-control-expose-headers?

optional access-control-expose-headers?: string

Inherited from

OutgoingHttpHeaders.access-control-expose-headers


access-control-max-age?

optional access-control-max-age?: string

Inherited from

OutgoingHttpHeaders.access-control-max-age


access-control-request-headers?

optional access-control-request-headers?: string

Inherited from

OutgoingHttpHeaders.access-control-request-headers


access-control-request-method?

optional access-control-request-method?: string

Inherited from

OutgoingHttpHeaders.access-control-request-method


age?

optional age?: string

Inherited from

OutgoingHttpHeaders.age


allow?

optional allow?: string

Inherited from

OutgoingHttpHeaders.allow


authorization?

optional authorization?: string

Inherited from

OutgoingHttpHeaders.authorization


cache-control?

optional cache-control?: string

Inherited from

OutgoingHttpHeaders.cache-control


cdn-cache-control?

optional cdn-cache-control?: string

Inherited from

OutgoingHttpHeaders.cdn-cache-control


connection?

optional connection?: string | string[]

Inherited from

OutgoingHttpHeaders.connection


content-disposition?

optional content-disposition?: string

Inherited from

OutgoingHttpHeaders.content-disposition


content-encoding?

optional content-encoding?: string

Inherited from

OutgoingHttpHeaders.content-encoding


content-language?

optional content-language?: string

Inherited from

OutgoingHttpHeaders.content-language


content-length?

optional content-length?: string | number

Inherited from

OutgoingHttpHeaders.content-length


content-location?

optional content-location?: string

Inherited from

OutgoingHttpHeaders.content-location


content-range?

optional content-range?: string

Inherited from

OutgoingHttpHeaders.content-range


content-security-policy?

optional content-security-policy?: string

Inherited from

OutgoingHttpHeaders.content-security-policy


content-security-policy-report-only?

optional content-security-policy-report-only?: string

Inherited from

OutgoingHttpHeaders.content-security-policy-report-only


content-type?

optional content-type?: string

Inherited from

OutgoingHttpHeaders.content-type


optional cookie?: string | string[]

Inherited from

OutgoingHttpHeaders.cookie


date?

optional date?: string

Inherited from

OutgoingHttpHeaders.date


dav?

optional dav?: string | string[]

Inherited from

OutgoingHttpHeaders.dav


dnt?

optional dnt?: string

Inherited from

OutgoingHttpHeaders.dnt


etag?

optional etag?: string

Inherited from

OutgoingHttpHeaders.etag


expect?

optional expect?: string

Inherited from

OutgoingHttpHeaders.expect


expires?

optional expires?: string

Inherited from

OutgoingHttpHeaders.expires


forwarded?

optional forwarded?: string

Inherited from

OutgoingHttpHeaders.forwarded


from?

optional from?: string

Inherited from

OutgoingHttpHeaders.from


host?

optional host?: string

Inherited from

OutgoingHttpHeaders.host


if-match?

optional if-match?: string

Inherited from

OutgoingHttpHeaders.if-match


if-modified-since?

optional if-modified-since?: string

Inherited from

OutgoingHttpHeaders.if-modified-since


if-none-match?

optional if-none-match?: string

Inherited from

OutgoingHttpHeaders.if-none-match


if-range?

optional if-range?: string

Inherited from

OutgoingHttpHeaders.if-range


if-unmodified-since?

optional if-unmodified-since?: string

Inherited from

OutgoingHttpHeaders.if-unmodified-since


last-modified?

optional last-modified?: string

Inherited from

OutgoingHttpHeaders.last-modified


optional link?: string | string[]

Inherited from

OutgoingHttpHeaders.link


location?

optional location?: string

Inherited from

OutgoingHttpHeaders.location


max-forwards?

optional max-forwards?: string

Inherited from

OutgoingHttpHeaders.max-forwards


origin?

optional origin?: string

Inherited from

OutgoingHttpHeaders.origin


pragma?

optional pragma?: string | string[]

Inherited from

OutgoingHttpHeaders.pragma


proxy-authenticate?

optional proxy-authenticate?: string | string[]

Inherited from

OutgoingHttpHeaders.proxy-authenticate


proxy-authorization?

optional proxy-authorization?: string

Inherited from

OutgoingHttpHeaders.proxy-authorization


public-key-pins?

optional public-key-pins?: string

Inherited from

OutgoingHttpHeaders.public-key-pins


public-key-pins-report-only?

optional public-key-pins-report-only?: string

Inherited from

OutgoingHttpHeaders.public-key-pins-report-only


range?

optional range?: string

Inherited from

OutgoingHttpHeaders.range


referer?

optional referer?: string

Inherited from

OutgoingHttpHeaders.referer


referrer-policy?

optional referrer-policy?: string

Inherited from

OutgoingHttpHeaders.referrer-policy


refresh?

optional refresh?: string

Inherited from

OutgoingHttpHeaders.refresh


retry-after?

optional retry-after?: string

Inherited from

OutgoingHttpHeaders.retry-after


sec-websocket-accept?

optional sec-websocket-accept?: string

Inherited from

OutgoingHttpHeaders.sec-websocket-accept


sec-websocket-extensions?

optional sec-websocket-extensions?: string | string[]

Inherited from

OutgoingHttpHeaders.sec-websocket-extensions


sec-websocket-key?

optional sec-websocket-key?: string

Inherited from

OutgoingHttpHeaders.sec-websocket-key


sec-websocket-protocol?

optional sec-websocket-protocol?: string | string[]

Inherited from

OutgoingHttpHeaders.sec-websocket-protocol


sec-websocket-version?

optional sec-websocket-version?: string

Inherited from

OutgoingHttpHeaders.sec-websocket-version


server?

optional server?: string

Inherited from

OutgoingHttpHeaders.server


optional set-cookie?: string | string[]

Inherited from

OutgoingHttpHeaders.set-cookie


strict-transport-security?

optional strict-transport-security?: string

Inherited from

OutgoingHttpHeaders.strict-transport-security


te?

optional te?: string

Inherited from

OutgoingHttpHeaders.te


trailer?

optional trailer?: string

Inherited from

OutgoingHttpHeaders.trailer


transfer-encoding?

optional transfer-encoding?: string

Inherited from

OutgoingHttpHeaders.transfer-encoding


upgrade?

optional upgrade?: string

Inherited from

OutgoingHttpHeaders.upgrade


upgrade-insecure-requests?

optional upgrade-insecure-requests?: string

Inherited from

OutgoingHttpHeaders.upgrade-insecure-requests


user-agent?

optional user-agent?: string

Inherited from

OutgoingHttpHeaders.user-agent


vary?

optional vary?: string

Inherited from

OutgoingHttpHeaders.vary


via?

optional via?: string | string[]

Inherited from

OutgoingHttpHeaders.via


warning?

optional warning?: string

Inherited from

OutgoingHttpHeaders.warning


www-authenticate?

optional www-authenticate?: string | string[]

Inherited from

OutgoingHttpHeaders.www-authenticate


x-content-type-options?

optional x-content-type-options?: string

Inherited from

OutgoingHttpHeaders.x-content-type-options


x-dns-prefetch-control?

optional x-dns-prefetch-control?: string

Inherited from

OutgoingHttpHeaders.x-dns-prefetch-control


x-frame-options?

optional x-frame-options?: string

Inherited from

OutgoingHttpHeaders.x-frame-options


x-xss-protection?

optional x-xss-protection?: string

Inherited from

OutgoingHttpHeaders.x-xss-protection