pub fn redact_headers(
headers: &BTreeMap<String, String>,
) -> BTreeMap<String, String>Expand description
Replaces sensitive header values with REDACTED, passing others through.
A header is sensitive when its lowercased name is in [SENSITIVE_HEADERS]
or contains any [SENSITIVE_HEADER_MARKERS] substring.