Skip to main content

Module headers

Module headers 

Source
Expand description

Common HTTP header name constants (RFC 9110 §5), lowercase.

Constants§

HTTP_AUTHORIZATION
The authorization request header name.
HTTP_CONNECTION
The connection header name.
HTTP_CONTENT_LENGTH
The content length header name.
HTTP_COOKIE
The cookie request header name.
HTTP_HOST
The host request header name.
HTTP_LOCATION
The location response header name.
HTTP_PROXY_AUTHENTICATE
The proxy authenticate response header name.
HTTP_PROXY_AUTHORIZATION
The proxy authorization request header name.
HTTP_SENSITIVE_HEADERS
Header names whose values are redacted in core::fmt::Debug output.
HTTP_SET_COOKIE
The set-cookie response header name.
HTTP_TRANSFER_ENCODING
The transfer encoding header name.
HTTP_WWW_AUTHENTICATE
The authenticate response header name.