]> Cypherpunks repositories - gostls13.git/commit
net/http: don't MIME sniff if handler set an empty string Content-Type
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 1 Aug 2013 06:38:32 +0000 (23:38 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 1 Aug 2013 06:38:32 +0000 (23:38 -0700)
commit252c107f2fe3e1ba8a58e06ec0e63fa8c8f90bb5
tree3909e723ffb1e6638d4fa70832088a8e789995dd
parent184b02ea9f057d0932e7182b14956568d5a10cfd
net/http: don't MIME sniff if handler set an empty string Content-Type

Fixes #5953

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/12117043
src/pkg/net/http/server.go
src/pkg/net/http/sniff_test.go