We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The user marc in the group encountered this, and the patch was supplied in their post here: http://groups.google.com/group/python-tornado/browse_thread/thread/29ec5a1300c10e2/1c7c8239cad08def?lnk=gst&q=put+method#1c7c8239cad08def
diff --git a/tornado/httpserver.py b/tornado/httpserver.py index 460f5c8..60957c7 100644 --- a/tornado/httpserver.py +++ b/tornado/httpserver.py @@ -201,7 +201,7 @@ class HTTPConnection(object): def _on_request_body(self, data): self._request.body = data content_type = self._request.headers.get("Content-Type", "")
if self._request.method == "POST":
if self._request.method in ("POST", "PUT"): if content_type.startswith("application/x-www-form-
The text was updated successfully, but these errors were encountered:
Can we get a comment from the Tornado developers on this bug? Thanks.
Sorry, something went wrong.
This has been fixed.
No branches or pull requests
The user marc in the group encountered this, and the patch was supplied in their post here: http://groups.google.com/group/python-tornado/browse_thread/thread/29ec5a1300c10e2/1c7c8239cad08def?lnk=gst&q=put+method#1c7c8239cad08def
diff --git a/tornado/httpserver.py b/tornado/httpserver.py
index 460f5c8..60957c7 100644
--- a/tornado/httpserver.py
+++ b/tornado/httpserver.py
@@ -201,7 +201,7 @@ class HTTPConnection(object):
def _on_request_body(self, data):
self._request.body = data
content_type = self._request.headers.get("Content-Type", "")
arguments = cgi.parse_qs(self._request.body)
for name, values in arguments.iteritems():
The text was updated successfully, but these errors were encountered: