Module ext
Available on crate features
http and std only.Expand description
Message extensions shared by the HTTP protocol versions.
Structs§
- Http
Datagrams - Declares that a message’s upgrade token defines HTTP Datagram semantics (RFC 9297 §2).
- Invalid
Protocol :protocolpseudo-header value is not a non-empty HTTP token- Protocol
- An HTTP upgrade token: the
:protocolpseudo-header of Extended CONNECT on HTTP/2 (RFC 8441) and HTTP/3 (RFC 9220), or the HTTP/1.1Upgradetoken it replaces.
Functions§
- extended_
connect_ pseudo_ scheme - The
:schemepseudo-header value of a request carrying:protocol(Extended CONNECT). - sends_
empty_ path - Whether an HTTP/2 or HTTP/3 request for
urisends an empty:path: only a target without path and query whose:schemeon the wire,wire_scheme(afterextended_connect_pseudo_scheme), is not http(s), which turn a missing path into/(RFC 9113 §8.3.1, RFC 9114 §4.3.1). A query is always sent, after a/.