Expand description
HTTP headers.
Modules§
- content_
type - Constants related to the Content-Type header
Structs§
- Header
Name - A header name.
- Header
Value - A header value.
- Headers
- A collection of headers.
Constants§
- ACCEPT
- “accept” HTTP header. See https://www.rfc-editor.org/rfc/rfc9110#section-12.5.1.
- ACCEPT_
CHARSET - “accept-charset” HTTP header. See https://www.rfc-editor.org/rfc/rfc9110#section-12.5.2.
- AUTHORIZATION
- “authorization” HTTP header. See https://www.rfc-editor.org/rfc/rfc9110#section-11.6.2.
- CLIENT_
REQUEST_ ID - x-ms-client-request-id header. See https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#distributed-tracing--telemetry for more details.
- CONTENT_
LENGTH - “content-length” HTTP header. See https://www.rfc-editor.org/rfc/rfc9110#section-8.6.
- CONTENT_
TYPE - “content-type” HTTP header. See https://www.rfc-editor.org/rfc/rfc9110#section-8.3
- ERROR_
CODE - x-ms-error-code header. See https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#handling-errors for more details.
- ETAG
- “etag” HTTP header. See https://www.rfc-editor.org/rfc/rfc9110#section-11.7.
- IF_
MATCH - “if-match” HTTP header. See https://www.rfc-editor.org/rfc/rfc7232#section-3.1.
- LAST_
MODIFIED - “last-modified” HTTP header. See https://www.rfc-editor.org/rfc/rfc9110#section-13.1.1.
- MS_DATE
- x-ms-date header.
- PREFER
- “prefer” HTTP header. See https://www.rfc-editor.org/rfc/rfc7240.
- RETRY_
AFTER - “retry-after” HTTP header. See https://www.rfc-editor.org/rfc/rfc9110#section-10.2.3.
- RETRY_
AFTER_ MS - retry-after-ms header.
- USER_
AGENT - “user-agent” HTTP header. See https://www.rfc-editor.org/rfc/rfc9110#section-10.1.5.
- VERSION
- x-ms-version header.
- X_
MS_ RETRY_ AFTER_ MS - x-ms-retry-after-ms header.
Statics§
- DEFAULT_
ALLOWED_ HEADER_ NAMES - Default set of allowed headers. Headers not in this list will be redacted.
Traits§
- AsHeaders
- A trait for converting a type into request headers.
- From
Headers - Extract a value from the
Headerscollection. - Header
- View a type as an HTTP header.