pub fn sensitive_headers_redact(headers: &str) -> Option<String>Expand description
Redacts sensitive request headers before they enter an access log.
§Parameters
headers: Input consumed bycrate::http::sensitive_headers_redact.
§Returns
Returns Some when crate::http::sensitive_headers_redact can produce a value and None otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::http::sensitive_headers_redact.
§Examples
ⓘ
let _result = pharos_runtime_core::http::sensitive_headers_redact("host: example");§Related
crate::httpfor adjacent helpers that share the same runtime surface.