[Twisted-Python] twisted.web questions

Itamar Turner-Trauring itamar at itamarst.org
Mon Jun 14 18:46:01 EDT 2010


On Mon, 2010-06-14 at 21:59 +0300, Yaroslav Fedevych wrote:
> On Mon, Jun 14, 2010 at 6:56 PM, Itamar Turner-Trauring
> <itamar at itamarst.org> wrote:
> >>> 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.
> >
> 
> But while receiving, it won't block, will it?

It will not block (unless your filesystem's storage blocks, which is
rare -- but does happen.)




More information about the Twisted-Python mailing list