Skip to main content

Module remove_header

Module remove_header 

Available on crate features http and std only.
Expand description

Middleware for removing headers from requests and responses.

See request and response for more details.

Modules§

request
Remove headers from a request.
response
Remove headers from a response.

Structs§

RemoveRequestHeader
Middleware that removes headers from a request.
RemoveRequestHeaderLayer
Layer that applies RemoveRequestHeader which removes request headers.
RemoveResponseHeader
Middleware that removes response headers from a request.
RemoveResponseHeaderLayer
Layer that applies RemoveResponseHeader which removes response headers.

Functions§

remove_cache_policy_headers
Remove caching policy headers.
remove_cache_validation_request_headers
Remove cache validation and conditional request headers.
remove_cache_validation_response_headers
Remove cache validators and representation range metadata from a response.
remove_hop_by_hop_request_headers
Remove hop by hop headers from an outbound request.
remove_hop_by_hop_response_headers
Remove hop by hop headers from an outbound response.
remove_illegal_h2_request_headers
Remove headers that are illegal on an HTTP/2 (or HTTP/3) request.
remove_illegal_h2_response_headers
Remove headers that are illegal on an HTTP/2 (or HTTP/3) response.
remove_payload_metadata_headers
Remove headers that describe or affect payload framing.
remove_sensitive_request_headers
Remove sensitive headers from an outbound request.
remove_sensitive_response_headers
Remove sensitive headers from an outbound response.