Skip to main content

remove_hop_by_hop_response_headers

Function remove_hop_by_hop_response_headers 

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

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

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