Crate typed_headers[−][src]
Typed HTTP header serialization and deserialization.
This crate is still in its early, experimental stages. It currently takes a fairly pedantic view of parsing, and tries to support exactly what's specified in the HTTP RFCs.
The HeaderMapExt extension trait provides new methods on the http::HeaderMap type to insert, retrieve, and
remove headers in a typed manner.
Re-exports
pub extern crate http; |
pub extern crate mime; |
Modules
| util |
Structs
| Accept |
|
| AcceptEncoding |
|
| Allow |
|
| AuthScheme |
An authorization scheme. |
| Authorization |
|
| ContentCoding |
A content coding, used in the |
| ContentEncoding |
|
| ContentLength |
|
| ContentType |
|
| Credentials |
Authentication credentials, as described in RFC7235. |
| Error |
An error serializing or deserializing a header. |
| Host |
The |
| HttpDate | |
| ProxyAuthorization |
|
| Quality |
A quality value, as specified in RFC7231. |
| QualityItem |
A value paired with its "quality" as defined in RFC7231. |
| ToValues | |
| Token68 |
A base68 value as defined in RFC7235. |
Enums
| RetryAfter |
Traits
| Header | |
| HeaderMapExt |
An extension trait adding typed getters and setters to |