Skip to main content

is_managed_proxy_connect_request_header

Function is_managed_proxy_connect_request_header 

pub fn is_managed_proxy_connect_request_header(name: &HeaderName) -> bool
Available on crate features http and std only.
Expand description

Return whether Rama owns this field while constructing an HTTP proxy CONNECT request.

Host and message framing are derived from the CONNECT request itself. Proxy-Authorization is derived from the selected proxy route. Allowing a caller-provided custom header to replace any of them would make the handshake ambiguous or address credentials to the wrong proxy hop.