]> Cypherpunks repositories - gostls13.git/commit
net/http: revert CL 89275 (don't sniff Content-Type when nosniff set)
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 31 Jul 2018 17:09:49 +0000 (17:09 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 31 Jul 2018 17:29:58 +0000 (17:29 +0000)
commitd3c3aaa61f7598f275f30fabd3749379fe0f2720
tree2dda58838a6697d7080fffb2dba16910d27039de
parent9e2a4f4dff9a790a47729b79e857130f83e0ff6d
net/http: revert CL 89275 (don't sniff Content-Type when nosniff set)

Also updates the bundled http2 to x/net/http2 git rev 49c15d80 for:

   http2: revert CL 107295 (don't sniff Content-type in Server when nosniff)
   https://golang.org/cl/126895

Fixes #24795

Change-Id: I6ae1a21c919947089274e816eb628d20490f83ce
Reviewed-on: https://go-review.googlesource.com/126896
Reviewed-by: Damien Neil <dneil@google.com>
doc/go1.11.html
src/net/http/h2_bundle.go
src/net/http/serve_test.go
src/net/http/server.go