Skip to main content

extract_params_header

Function extract_params_header 

Source
pub fn extract_params_header(head: &HeaderMap) -> HashMap<String, String>
Expand description

Extract parameters from hyper::HeaderMap, mainly header information.

Credential-bearing headers (see [SENSITIVE_HEADERS]) are redacted: the header name is preserved for correlation, but its value is replaced with [REDACTED_SECRET] so secrets never reach downstream audit/notification sinks. Non-sensitive headers keep their existing behavior.