Available on crate feature
api
and (crate features client
or server
) only.Expand description
Helpers for HTTP headers with the http
crate.
Structs§
- The value of a
Content-Disposition
HTTP header. - A non-empty string consisting only of
token
s 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-Disposition
HTTP 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-Policy
HTTP response header.
Functions§
- Convert a header value representing a HTTP date to a
SystemTime
. - Convert as
SystemTime
to a HTTP date header value.