-
Notifications
You must be signed in to change notification settings - Fork 18k
mime: be stricter parsing media types #3562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
yeah, but it'd still be nice if t and params were zero values when err != nil. I know that's not documented, but it's more consistent with how errors normally work, and it's halfway implied by the docs saying that a non-nil map is returned when err == nil. Feel free to close if you disagree. |
This issue was closed by revision 7f7a70f. Status changed to Fixed. |
rsc
added a commit
that referenced
this issue
May 11, 2015
… error ««« CL 6119051 / 1384d7510575 mime: make ParseMediaType return zero results on error Fixes #3562 R=golang-dev, adg, rsc CC=golang-dev https://golang.org/cl/6119051 »»» R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6127045
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: