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 :).


_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to