commit | a986d98053a817600509b2c0088e1cf118cf573a | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@golang.org> | Thu Aug 18 12:51:23 2011 -0700 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Thu Aug 18 12:51:23 2011 -0700 |
tree | 87e2c265aa261277b8090c785f26481473066233 | |
parent | 88432625998cf6c05bacc86ef9d29c25e0c608c8 [diff] |
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