]> Cypherpunks repositories - gostls13.git/commit
net/http: skip content-type sniffing if the header is explicitly unset.
authorMichael Piatek <piatek@google.com>
Mon, 14 Oct 2013 21:22:04 +0000 (08:22 +1100)
committerDavid Symonds <dsymonds@golang.org>
Mon, 14 Oct 2013 21:22:04 +0000 (08:22 +1100)
commit21e6b90d36db8d10e93ca281aee404b5f7720f48
tree8450bcc4761b5da6660b7bb7e0d8841034d1217b
parent51c0d7c0a7bee8256c298e022021e4bfb3ff915b
net/http: skip content-type sniffing if the header is explicitly unset.

Fixes #5953

R=dsymonds, bradfitz, rsc
CC=golang-dev
https://golang.org/cl/14434044
src/pkg/net/http/fs.go
src/pkg/net/http/fs_test.go
src/pkg/net/http/response_test.go
src/pkg/net/http/server.go