Type Alias HttpHeaderName

Source
pub type HttpHeaderName = String;
Expand description

HTTPHeaderName is the name of an HTTP header.

Valid values include:

  • “Authorization”
  • “Set-Cookie”

Invalid values include:

  • “:method” - “:” is an invalid character. This means that HTTP/2 pseudo headers are not currently supported by this type.
  • “/invalid” - “/” is an invalid character

Aliased Type§

struct HttpHeaderName { /* private fields */ }