[Twisted-Python] web vs web2 clarification

Glyph Lefkowitz glyph at twistedmatrix.com
Thu Dec 10 13:33:38 EST 2009

On Dec 10, 2009, at 1:21 PM, Jared Gisin wrote:

> Excellent. Yes, it helps greatly. 
> What I'm in need of is the ability to allow PUTs of arbitrarily large entity-bodies which I will write to a file system on the server. The problem with twisted.web right now is that before my Resource.render_ hander is called to process the request, the http.Request object has already received all of the bytes and either put them in a StringIO or a TemporaryFile. I'd like to be able to get at the incoming data stream and handle it directly, and it appears that web2 had a sort of consumer API that allowed the Resource to handle the stream. I'm still reading documentation and trying to figure out how I can implement that in twisted.web itself. Thoughts on that would be appreciated.

You probably want to join in on the conversation on this ticket: <http://twistedmatrix.com/trac/ticket/288>.  Perhaps even contribute some patches :).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20091210/966b4101/attachment.htm 

More information about the Twisted-Python mailing list