httparse

Function is_method_token

Source
pub(crate) fn is_method_token(b: u8) -> bool
Expand description

Determines if byte is a method token char.

token          = 1*tchar

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