mirror of
https://github.com/golang/net.git
synced 2026-04-01 02:47:08 +09:00
Content-Length and Transfer-Encoding must not be sent when the response
has no body.
Necessary to fix the tests of golang/go#42597.
Change-Id: Ibe90048bb122cc3ad1e04f8ebf9aa966b40489ae
GitHub-Last-Rev: 2605919859
GitHub-Pull-Request: golang/net#134
Reviewed-on: https://go-review.googlesource.com/c/net/+/406494
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
Run-TryBot: Damien Neil <dneil@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>