Skip to main content

remove_hop_by_hop_request_headers

Function remove_hop_by_hop_request_headers 

pub fn remove_hop_by_hop_request_headers(headers: &mut HeaderMap)
Available on crate features http and std only.
Expand description

Remove request-side hop-by-hop fields without forwarding capabilities.

Use this when the next hop intentionally does not support upgrades or request trailers.