Skip to main content

is_path_byte

Function is_path_byte 

Source
pub fn is_path_byte(byte: u8) -> bool
Expand description

Whether a byte may appear unencoded in a URL path (RFC 3986).

That is an unreserved character, a sub-delimiter, :, @, /, or the % opening a percent-encoded octet. A query or fragment delimiter does not qualify, nor does a space, a backslash or a control byte.