Expand description
Helpers for HTTP headers with the http crate.
Structs§
- The value of a
Content-DispositionHTTP header. - A non-empty string consisting only of
tokens as defined in [RFC 9110 Section 3.2.6].
Enums§
- An error encountered when trying to parse an invalid
ContentDisposition. - A disposition type in the
Content-DispositionHTTP header as defined in Section 4.2 of RFC 6266. - The parsed string contains a character not allowed for a
TokenString.
Constants§
- The
Cross-Origin-Resource-PolicyHTTP response header.
Functions§
- Convert a header value representing a HTTP date to a
SystemTime. - Convert as
SystemTimeto a HTTP date header value.