Skip to main content

should_redact_header

Function should_redact_header 

Source
pub fn should_redact_header(header_name: &str) -> bool
Expand description

Checks if a header name should be redacted.

This is the single source of truth for sensitive header identification. Used by both logging and request building to ensure consistent redaction.