Skip to main content

is_header_value

Function is_header_value 

Source
pub fn is_header_value(s: &str, strict: bool) -> bool
Expand description

Well-known regex — HTTP header value. strict=true delegates to http::HeaderValue::from_bytes (visible ASCII + tab); strict=false is looser (no CR/LF/NUL).