commit | 6143a133e5c978bb97379957b70acd1983bcd54a | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Wed Jul 20 13:42:37 2022 -0700 |
committer | Than McIntosh <thanm@google.com> | Wed Dec 14 16:38:11 2022 +0000 |
tree | 2bc19aa70877e03a3b7d642b46eb8d686be3701b | |
parent | 4205dd41f8702baecd880da035de3db86340e81d [diff] |
[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 <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> (cherry picked from commit f8f703f9792514ccbc649d4bf01f539f7a6303f9) Reviewed-on: https://go-review.googlesource.com/c/net/+/457416 Reviewed-by: Than McIntosh <thanm@google.com>
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 $GOPATH/src/golang.org/x/net
.
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.