Crate pingora_http

Source
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§

prelude

Structs§

HMap
A set of HTTP headers
Method
The Request Method (VERB)
RequestHeader
The HTTP request header type.
ResponseHeader
The HTTP response header type.
StatusCode
An HTTP status code (status-code in RFC 9110 et al.).
Version
Represents a version of the HTTP spec.

Traits§

IntoCaseHeaderName
A trait that converts into case-sensitive header names.