Expand description

Types that map to concepts in HTTP.

This module exports types that map to HTTP concepts or to the underlying HTTP library when needed. Because the underlying HTTP library is likely to change (see #17), types in hyper should be considered unstable.


Extension traits implemented by several HTTP types.

Re-exported hyper HTTP library types.

Contains types that encapsulate uncased ASCII strings.

Types for URIs and traits for rendering URI components.


Macro to automatically generate identity FromUriParam trait implementations.


The HTTP Accept header.

Representation of HTTP Content-Types.

Representation of an HTTP cookie.

Simple representation of an HTTP header.

A collection of headers, mapping a header name to its many ordered values.

An HTTP media type.

A MediaType with an associated quality value.

A reference to a string inside of a raw HTTP message.

Structure representing an HTTP status: an integer code and a reason phrase.


Collection of one or more HTTP cookies.

Representation of HTTP methods.

The SameSite cookie attribute.

Enumeration of HTTP status classes.