Skip to main content

Module header_keys

Module header_keys 

Source
Expand description

Common HTTP header field names as string constants for efficient lookups.

Constants§

ACCEPT
Content negotiation headers.
ACCEPT_ENCODING
ACCEPT_LANGUAGE
ACCEPT_RANGES
AGE
ALLOW
AUTHORIZATION
Authentication and caching related headers.
CACHE_CONTROL
CONNECTION
CONTENT_ENCODING
Content-Encoding header (RFC 9110 Section 8.4).
CONTENT_LANGUAGE
Content-Language header (RFC 9110 Section 12.5.4).
CONTENT_LENGTH
Request and response framing headers.
CONTENT_LOCATION
Content-Location header (RFC 9110 Section 8.5).
CONTENT_RANGE
CONTENT_TYPE
Content-Type header (RFC 9110 Section 8.3).
COOKIE
DATE
ETAG
EXPECT
EXPIRES
HOST
IF_MATCH
IF_MODIFIED_SINCE
IF_NONE_MATCH
IF_RANGE
IF_UNMODIFIED_SINCE
LAST_MODIFIED
LOCATION
PRAGMA
RANGE
SERVER
SET_COOKIE
TRANSFER_ENCODING
UPGRADE
USER_AGENT
Miscellaneous headers often used in examples.
VARY