]> Cypherpunks repositories - gostls13.git/commit
Revert "net/http: do not force the Content-Length header if nilled"
authorAustin Clements <austin@google.com>
Mon, 15 May 2023 21:19:08 +0000 (21:19 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 15 May 2023 21:31:16 +0000 (21:31 +0000)
commit7213f2e72003325df2cebb731de838ac01f20fb6
treea65d994d3f08eda3fa71f46c0dfbd7c9af264417
parentff3aefbad4bed0cdd25688329e5cc4f908276a46
Revert "net/http: do not force the Content-Length header if nilled"

This reverts CL 469095.

The newly added TestDisableContentLength is failing on all longtest
builders.

Change-Id: Id307df61c7bf80691d9c276e8d200eebf6d4a59c
Reviewed-on: https://go-review.googlesource.com/c/go/+/495017
Auto-Submit: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/net/http/serve_test.go
src/net/http/server.go