Module rocket::http::hyper::header

Expand description

Reexported Hyper HTTP header types.

Constants§

  • Advertises which content types the client is able to understand.
  • Advertises which character set the client is able to understand.
  • Advertises which content encoding the client is able to understand.
  • Advertises which languages the client is able to understand.
  • Marker used by the server to advertise partial request support.
  • Preflight response indicating if the response to the request can be exposed to the page.
  • Preflight response indicating permitted HTTP headers.
  • Preflight header response indicating permitted access methods.
  • Indicates whether the response can be shared with resources with the given origin.
  • Indicates which headers can be exposed as part of the response by listing their names.
  • Indicates how long the results of a preflight request can be cached.
  • Informs the server which HTTP headers will be used when an actual request is made.
  • Informs the server know which HTTP method will be used when the actual request is made.
  • Lists the set of methods support by a resource.
  • Contains the credentials to authenticate a user agent with a server.
  • Specifies directives for caching mechanisms in both requests and responses.
  • Controls whether or not the network connection stays open after the current transaction finishes.
  • Indicates if the content is expected to be displayed inline.
  • Used to compress the media-type.
  • Used to describe the languages intended for the audience.
  • Indicates the size of the entity-body.
  • Indicates an alternate location for the returned data.
  • Indicates where in a full body message a partial message belongs.
  • Allows controlling resources the user agent is allowed to load for a given page.
  • Allows experimenting with policies by monitoring their effects.
  • Used to indicate the media type of the resource.
  • Contains the date and time at which the message was originated.
  • Identifier for a specific version of a resource.
  • Indicates expectations that need to be fulfilled by the server in order to properly handle the request.
  • Contains the date/time after which the response is considered stale.
  • Contains information from the client-facing side of proxy servers that is altered or lost when a proxy is involved in the path of the request.
  • Contains an Internet email address for a human user who controls the requesting user agent.
  • Specifies the domain name of the server and (optionally) the TCP port number on which the server is listening.
  • Makes a request conditional based on the E-Tag.
  • Makes a request conditional based on the modification date.
  • Makes a request conditional based on the E-Tag.
  • Makes a request conditional based on range.
  • Makes the request conditional based on the last modification date.
  • Content-Types that are acceptable for the response.
  • Allows the server to point an interested client to another resource containing metadata about the requested resource.
  • Indicates the URL to redirect a page to.
  • Indicates where a fetch originates from.
  • HTTP/1.0 header usually used for backwards compatibility.
  • Indicates the part of a document that the server should return.
  • Contains the address of the previous web page from which a link to the currently requested page was followed.
  • Governs which referrer information should be included with requests made.
  • Informs the web browser that the current page or frame should be refreshed.
  • Tells the client to communicate with HTTPS instead of using HTTP.
  • Informs the server of transfer encodings willing to be accepted as part of the response.
  • Specifies the form of encoding used to safely transfer the entity to the client.
  • Used as part of the exchange to upgrade the protocol.
  • Contains a string that allows identifying the requesting client’s software.
  • Determines how to match future requests with cached responses.