Function httparse::is_token

source ยท
pub(crate) fn is_token(b: u8) -> bool
Expand description

Determines if byte is a token char.

token          = 1*tchar

tchar          = "!" / "#" / "$" / "%" / "&" / "'" / "*"
               / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"
               / DIGIT / ALPHA
               ; any VCHAR, except delimiters