Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: set MaxResponseHeaderBytes in DefaultTransport? #26315
@dmitshur points out that https://go-review.googlesource.com/c/go/+/21329/2/src/net/http/transport.go already defined the zero value to mean 10 MB.
So there's nothing to do here.