]> git.ipfire.org Git - thirdparty/tornado.git/commit
Remove HTTP method check from HTTPServerRequest._parse_body.
authorBen Darnell <ben@bendarnell.com>
Sun, 25 May 2014 15:39:12 +0000 (11:39 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 25 May 2014 15:39:12 +0000 (11:39 -0400)
commitfa29f20de36b65b3d8a4c2d0c2dea5bf58074de8
tree84883fa5d66334f5b983e760e91b3e4f1f05986f
parent8e006fc704d59d5c4da1f6b171c709d900c2f48b
Remove HTTP method check from HTTPServerRequest._parse_body.

The semantics of a body are not well-defined for some methods,
but if a client sends a body with the correct content-type,
we might as well parse it no matter what the method.

Closes #1011.
tornado/httputil.py