1
0
mirror of https://github.com/golang/go synced 2024-10-06 00:31:23 -06:00
go/src/pkg/net/textproto
Brad Fitzpatrick 31e94293fc net/textproto: accept bad MIME headers as browsers do
Accept certain non-compliant response headers
(in particular, when spaces preceed the colon).
All major browser and curl seem to support this,
and at least one webserver seems to send these.

*shrug*

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5690059
2012-02-22 11:13:59 +11:00
..
header.go gofix -r mapdelete 2011-10-18 09:56:34 -04:00
pipeline.go gofix -r mapdelete 2011-10-18 09:56:34 -04:00
reader_test.go net/textproto: accept bad MIME headers as browsers do 2012-02-22 11:13:59 +11:00
reader.go net/textproto: accept bad MIME headers as browsers do 2012-02-22 11:13:59 +11:00
textproto.go net/textproto: delete spurious quote 2012-02-17 11:35:38 +11:00
writer_test.go net/textproto: new package, with example net/dict 2010-08-06 17:37:45 -07:00
writer.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00