go/src/pkg/mime
Brad Fitzpatrick a986d98053 mime: ParseMediaType returns os.Error now, not a nil map
ParseMediaType previously documented that it always returned
a non-nil map, but also documented that it returned a nil map
to signal an error.

That is confusing, contradictory and not Go-like.

Now it returns (mediatype string, params map, os.Error).

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4867054
2011-08-18 12:51:23 -07:00
..
multipart mime: ParseMediaType returns os.Error now, not a nil map 2011-08-18 12:51:23 -07:00
Makefile build: no required environment variables 2010-08-18 10:08:49 -04:00
grammar.go mime: fix RFC references 2011-06-20 07:41:18 -07:00
mediatype.go mime: ParseMediaType returns os.Error now, not a nil map 2011-08-18 12:51:23 -07:00
mediatype_test.go mime: ParseMediaType returns os.Error now, not a nil map 2011-08-18 12:51:23 -07:00
mime_test.go
test.types
type.go mime: fix build 2011-07-13 20:04:12 -07:00