mirror of
https://github.com/golang/net.git
synced 2026-03-31 10:27:08 +09:00
When handling HEAD requests, Server will now always send an HTTP response with an empty body, even if the HTTP handler would normally write to the body. For golang/go#70914 Change-Id: Id656a8f9901b97357a343e204761f6a47f87f9fe Reviewed-on: https://go-review.googlesource.com/c/net/+/740160 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Nicholas Husin <husin@google.com>