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
net/http: Request.ParseForm doesn't support PATCH requests #7454
Labels
Milestone
Comments
Discussion on golang-nuts https://groups.google.com/d/msg/golang-nuts/GjngdEKsUXA/TIMHxkQkSp8J |
Thanks for work around suggestion, it's probably better than adding a PUT route. > I'd like to see real uses of PATCH before changing the standard package. Certainly, at Splice we track music producer saves. The "saves" are stored as resources and can be partially updated (set a description for instance) by sending a PATCH request. A PUT request would not be appropriate since we only make a partial change to the resource. Would you like me to explain more in details? Or did I miss the point of your question? |
I added a Code Review request with a fix: https://golang.org/cl/70990044 (thanks @nathany for walking me through the process) |
Chatted with Russ. This is fine for now. I still want to clean a lot of this up and maybe as part of that we'll just always call parsePostForm if that Content-Type is URL encoded. But the test in this CL will prevent us from regressing in Go 1.4. Labels changed: added release-go1.3, removed release-go1.4. Status changed to Accepted. |
This issue was closed by revision b38320b. Status changed to Fixed. |
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: