Angaben zum Datum
Datum aus der Quelle.
Erstmals gesehen am .
Uvicorn 0.54.0: HTTP/2-Trailers und 103 Early Hints
Uvicorn 0.54.0 ergänzt die experimentelle HTTP/2-Implementierung über zttp um HTTP/2-Response-Trailers (ASGI-Extension http.response.trailers) und um 103 Early Hints (ASGI-Extension http.response.early_hint).
📨 Send metadata after the response body
uvicorn 0.54.0 adds response trailers and 103 Early Hints to its experimental HTTP/2 implementation through zttp.
uv add uvicorn==0.54.0 "zttp>=0.0.34"
- Send HTTP/2 response trailers (#3146). The ASGI
http.response.trailersextension lets applications send metadata, such as checksums, after the response body. Clients must sendTE: trailersto receive them. Multiple trailer messages are combined before completing the response. - HTTP/2 remains experimental and opt-in. Enable it with
--http zttp --http2. Upgrade-based h2c and WebSockets over HTTP/2 remain unsupported.
💡 Hint at resources before the final response
- Send
103 Early Hintsover HTTP/2 (#3137). Applications can use the ASGIhttp.response.early_hintextension to send resource hints before the final response. Each supplied link becomes a separateLinkheader.
Full changelog: 0.53.0...0.54.0