Skip to content

http: http.Request ParseForm does not parse form data for PUT requests #2165

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

Closed
gopherbot opened this issue Aug 19, 2011 · 2 comments
Closed

Comments

@gopherbot
Copy link
Contributor

by [email protected]:

What steps will reproduce the problem?
1. create an http.Request instance for a PUT request with an
application/x-www-form-urlencoded body
2. call r.ParseForm
3. try to use r.Form

What is the expected output?
r.Form should contain the data from the form in the body of the request

What do you see instead?
it doesn't


Which compiler are you using (5g, 6g, 8g, gccgo)?
6g


Which operating system are you using?
osx


Which revision are you using?  (hg identify)
d5785050f61d+ (release-branch.r59) release/release.r59



Please provide any additional information below.

Patch to follow
@robpike
Copy link
Contributor

robpike commented Aug 22, 2011

Comment 1:

Owner changed to @bradfitz.

Status changed to Accepted.

@bradfitz
Copy link
Contributor

Comment 2:

This was fixed by:
http://code.google.com/p/go/source/detail?r=d67e691bae3f4fd115cdc6fee6f454738ebd94fb

Status changed to Fixed.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants