Expand description
Request-target authority classification.
Locates the authority and path boundaries within a raw request-target, without
interpreting them. Classification is kept separate from the policy that acts on it so
that the URI stored on a RequestHeader and the authority a
protocol implementation reconciles against Host derive from the same boundaries and
cannot disagree about where the authority ends.
These functions read raw bytes and never allocate.
Enums§
- RawTarget
Authority - Raw request-target authority boundaries.
Functions§
- is_
http_ family_ scheme - Check whether a scheme is HTTP, HTTPS, WebSocket, or secure WebSocket.
- raw_
target_ authority - Classify authority and path/query boundaries in a raw request target.