Descriptionmime: 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).
Patch Set 1 #Patch Set 2 : diff -r 53b068e61dd0 https://go.googlecode.com/hg #Patch Set 3 : diff -r 53b068e61dd0 https://go.googlecode.com/hg #
Total comments: 1
Patch Set 4 : diff -r 233a0938ac15 https://go.googlecode.com/hg #
MessagesTotal messages: 6
|