[Twisted-Python] twisted.web questions

Itamar Turner-Trauring itamar at itamarst.org
Mon Jun 14 11:56:56 EDT 2010


>> Very large requests get written to disk, rather than memory. This is
>> still not ideal, streaming is obviously better - someone may be able to
>> suggest how to do it until Twisted gets fixed.
>>
>
> That is unfortunate.  Do you know of an example that shows to get access
> to
> that file or does it just show up as a file object in the request?

It's transparent to the user, it shows up as file-like object in the Request.

>> There's a branch of Twisted that implements this, hopefully it will
>> eventually be merged:
>> http://twistedmatrix.com/trac/ticket/3711
>>
>>
> Is there anything that is currently holding this up?  (ie. is the design
> on
> this branch what will end up in the system or could it change
> dramatically?)

There are a bunch of review comments in the ticket. You could just write
your own until this is ready, I've done it a number of times and it's a
pretty small piece of code.




More information about the Twisted-Python mailing list