Module cosworth::prelude::http

source ·
Expand description

Various HTTP related types

Modules

Various http headers
URI component of request and response lines

Structs

Representation of an HTTP cookie.
Structure that follows the builder pattern for building Cookie structs.
A generic “error” for HTTP connections
A type map of protocol extensions.
A set of HTTP headers
The Request Method (VERB)
Path normalization helper
An HTTP status code (status-code in RFC 7230 et al.).
The URI component of a request.
Represents a version of the HTTP spec.

Enums

Represents various types of connection
Represents supported types of content encodings

Traits

Private trait for the http crate to have generic methods with fallible conversions.