Support for streaming request body data in POST and PUT requests #685

Closed
wants to merge 18 commits into
from

Conversation

Projects
None yet
8 participants
@ghost
Contributor

ghost commented Feb 27, 2013

This pull request contains the streambody branch, providing support for streaming request body data in POST and PUT requests, see the "demos" folder example usage.

The code has been been running on production servers without problems in the last year.

Owner

bdarnell commented Mar 5, 2013

This looks cool, but I just want to say for now that we're trying to wrap up the 3.0 release right now, so I'm going to hold off on reviewing and merging this until that's done.

D1plo1d commented Jun 14, 2013

+1 to streaming uploads, this is exactly what I need. Now that 3.0 is released, is there any chance of this getting merged?

Owner

bdarnell commented Jun 18, 2013

3.1 is already out the door, but now I want to get this or something like it into 3.2.

@ghost
Contributor

ghost commented Jun 18, 2013

I've merged Tornado 3.1 into the streambody branch.

D1plo1d commented Jul 20, 2013

bump

I've merged the latest facebook master with nephics's streambody if anyone needs a quick git remote for their project: https://github.com/D1plo1d/tornado

(the merge was automatic / trivial)

kzahel commented Jul 31, 2013

Perhaps it makes sense to think about this: facebook#862
Chunked encoding is the perfect example of a POST body that NEEDS to be streamed.
The interface might be something like on_{{method}}headers, on{{method}}chunk, on{{method}}_complete or similar.

JohnVinyard and others added some commits Sep 10, 2013

Merge pull request #1 from JohnVinyard/streambody
Fix bug whereby asynchronous decorator is applied to put and post method...

Any updates? I don't know of any Python web frameworks support this.

iamtio commented Mar 18, 2014

Is there any chance of this getting merged?

Owner

bdarnell commented Mar 18, 2014

I'm working on a broader refactoring of the HTTP machinery that will include the ability to handle streaming uploads. I hope to have something to show soon.

Owner

bdarnell commented Apr 28, 2014

The big HTTP refactoring has landed in the master branch. See the tornado.web.stream_request_body decorator.

@bdarnell bdarnell closed this Apr 28, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment