diff options
author | Don Bowman <don.waterloo@gmail.com> | 2015-04-08 00:44:38 +0000 |
---|---|---|
committer | Don Bowman <don.waterloo@gmail.com> | 2015-04-08 00:44:38 +0000 |
commit | 423b1c69be7828c331a47467b66217d190e916b9 (patch) | |
tree | 9c9897bc56f5990842b404572ab1ce75194df5b4 /modules/asn1-ber | |
parent | 639e34e362c3e4cea2532de4b811dc8bb916f9f3 (diff) |
don't set mime type to text/plain. This will break serving e.g. raw images,
html, etc
According to http://golang.org/pkg/net/http/#DetectContentType
"If the Header does not contain a Content-Type line, Write adds
a Content-Type set to the result of passing the initial 512 bytes
of written data to DetectContentType."
Diffstat (limited to 'modules/asn1-ber')
0 files changed, 0 insertions, 0 deletions