|author||Damien Neil <firstname.lastname@example.org>||Wed Jul 20 13:42:37 2022 -0700|
|committer||Than McIntosh <email@example.com>||Wed Dec 14 16:38:11 2022 +0000|
[internal-branch.go1.18-vendor] http2: accept HEAD requests with a body RFC 7231 permits HEAD requests to contain a body, although it does state there are no defined semantics for payloads of HEAD requests and that some servers may reject HEAD requests with a payload. Accept HEAD requests with a body. Test is in net/http CL 418614. For golang/go#53960. For golang/go#56323. Change-Id: I946d3ec796054c3908beb8a69cc78aa51c04c972 Reviewed-on: https://go-review.googlesource.com/c/net/+/418634 Run-TryBot: Damien Neil <firstname.lastname@example.org> TryBot-Result: Gopher Robot <email@example.com> Reviewed-by: Brad Fitzpatrick <firstname.lastname@example.org> Reviewed-by: Cherry Mui <email@example.com> (cherry picked from commit f8f703f9792514ccbc649d4bf01f539f7a6303f9) Reviewed-on: https://go-review.googlesource.com/c/net/+/457416 Reviewed-by: Than McIntosh <firstname.lastname@example.org>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run
go get -u golang.org/x/net. You can also manually git clone the repository to
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.