Expand description
HTTP header objects that preserve http header cases
Although HTTP header names are supposed to be case-insensitive for compatibility, proxies ideally shouldn’t alter the HTTP traffic, especially the headers they don’t need to read.
This crate provide structs and methods to preserve the headers in order to build a transparent proxy.
Modules§
Structs§
- HMap
- A set of HTTP headers
- Method
- The Request Method (VERB)
- Request
Header - The HTTP request header type.
- Response
Header - The HTTP response header type.
- Status
Code - An HTTP status code (
status-code
in RFC 9110 et al.). - Version
- Represents a version of the HTTP spec.
Traits§
- Into
Case Header Name - A trait that converts into case-sensitive header names.