pub fn parse_origin_form(input: &[u8]) -> Result<&str, DecodeError>Expand description
Checks a request target in origin form (RFC 9112 §3.2.1): it starts with
/ and holds visible ASCII only.
§Errors
DecodeError::Malformed "request target".
pub fn parse_origin_form(input: &[u8]) -> Result<&str, DecodeError>Checks a request target in origin form (RFC 9112 §3.2.1): it starts with
/ and holds visible ASCII only.
DecodeError::Malformed "request target".