Module rocket::http::hyper::header [−][src]
Expand description
Reexported Hyper header types.
Structs
Accept
header, defined in RFC7231
Accept-Charset
header, defined in
RFC7231
Accept-Encoding
header, defined in
RFC7231
Accept-Language
header, defined in
RFC7231
Accept-Ranges
header, defined in
RFC7233
Access-Control-Allow-Credentials
header, part of
CORS
Access-Control-Allow-Headers
header, part of
CORS
Access-Control-Allow-Methods
header, part of
CORS
Access-Control-Expose-Headers
header, part of
CORS
Access-Control-Max-Age
header, part of
CORS
Access-Control-Request-Headers
header, part of
CORS
Access-Control-Request-Method
header, part of
CORS
Allow
header, defined in RFC7231
Authorization
header, defined in RFC7235
Credential holder for Basic Authentication
Token holder for Bearer Authentication, most often seen with oauth
Cache-Control
header, defined in RFC7234
Connection
header, defined in
RFC7230
A Content-Disposition
header, (re)defined in RFC6266
Content-Encoding
header, defined in
RFC7231
Content-Language
header, defined in
RFC7231
Content-Length
header, defined in
RFC7230
Content-Range
header, defined in
RFC7233
Content-Type
header, defined in
RFC7231
Date
header, defined in RFC7231
ETag
header, defined in RFC7232
An entity tag, defined in RFC7232
Expires
header, defined in RFC7234
From
header, defined in RFC7231
A map of header fields on requests and responses.
The Host
header.
A time::Time
with HTTP formatting and parsing
If-Modified-Since
header, defined in
RFC7232
If-Unmodified-Since
header, defined in
RFC7232
Last-Modified
header, defined in
RFC7232
Location
header, defined in
RFC7231
The Origin
header.
Prefer
header, defined in RFC7240
Preference-Applied
header, defined in RFC7240
Protocols that appear in the Upgrade
header field
Represents a quality used in quality values.
Represents an item with a quality value as defined in RFC7231.
Referer
header, defined in
RFC7231
StrictTransportSecurity
header, defined in RFC6797
Transfer-Encoding
header, defined in
RFC7230
Upgrade
header, defined in RFC7230
User-Agent
header, defined in
RFC7231
Enums
The Access-Control-Allow-Origin
response header,
part of CORS
Each Range::Bytes
header can contain one or more ByteRangeSpecs
.
Each ByteRangeSpec
defines a range of bytes to fetch
CacheControl
contains a list of these directives.
A Mime charset.
Values that can be in the Connection
header.
Content-Range, described in RFC7233
A parameter to the disposition type
The implied disposition of the content of the HTTP body
A value to represent an encoding used in Transfer-Encoding
or Accept-Encoding
header.
The Expect
header.
If-Match
header, defined in
RFC7232
If-None-Match
header, defined in
RFC7232
If-Range
header, defined in RFC7233
The Pragma
header defined by HTTP/1.0.
Prefer contains a list of these preferences.
A protocol name used to identify a spefic protocol. Names are case-sensitive
except for the WebSocket
value.
Range
header, defined in RFC7233
Range Units, described in RFC7233
Referrer-Policy
header, part of
Referrer Policy
Vary
header, defined in RFC7231
Traits
An Authorization scheme to be used in the header.