Radar · Go · Archive · Week 50 · Dec 8 – 14, 2025
net/http: HTTP/2 configuration API
Worth knowingstdlib
- What changed
- The proposal introduces a new
HTTP2Configstruct that can be attached tohttp.Serverandhttp.Transport. It unifies server and client HTTP/2 settings and removes the need to importgolang.org/x/net/http2for configuration. - Production impact
- The source does not say.
- Try it
- In a future release, create an
http.Serverand set itsHTTP2Configfield to customize HTTP/2 behavior. - Source
- github.com/golang/go/issues/67813
Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed