Skip to main content

is_sensitive

Function is_sensitive 

Source
pub fn is_sensitive(name: &[u8]) -> bool
Expand description

Whether a field carries a credential an encoder must never put into a compression table, and a log must never print: authorization, proxy-authorization, cookie and set-cookie, compared ignoring ASCII case (RFC 7541 §7.1.3, RFC 9204 §7.1.3).