pub fn validate_request(fields: &[Field]) -> Result<Validated, ()>Expand description
Request header validation: pseudo-headers first, no duplicates, the required ones
present (CONNECT has only :method and :authority; extended CONNECT adds
:protocol, :scheme and :path).