Damien Neil f8f703f979 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.

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>
2022-09-19 17:16:27 +00:00
2022-09-09 16:43:09 +00:00
2021-11-09 21:46:57 +00:00
2022-04-12 02:06:05 +00:00
2022-04-12 02:06:05 +00:00
2022-08-09 01:22:01 +00:00
2022-08-09 01:22:01 +00:00
2022-04-12 02:06:05 +00:00
2022-08-09 01:22:01 +00:00
2022-05-16 13:33:12 +00:00
2022-04-12 02:06:05 +00:00
2015-03-18 17:04:12 +00:00
2022-07-28 01:21:08 +00:00
2022-07-28 01:21:08 +00:00
2020-12-07 22:46:15 +00:00

Go Networking

Go Reference

This repository holds supplementary Go networking libraries.

Download/Install

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.

Report Issues / Send Patches

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.

Description
[mirror] Go supplementary network libraries
Readme BSD-3-Clause 13 MiB
Languages
Go 99.9%