pub fn is_http_header_name(s: &str, strict: bool) -> boolExpand description
Returns true if s is a valid HTTP header name.
When strict is true, validates against RFC 7230 token characters.
When strict is false, only rejects NUL, CR, and LF.