[Twisted-web] streaming request (was: status of Twisted Web and Web 2)

Christopher Armstrong radix at twistedmatrix.com
Thu Mar 6 11:42:15 EST 2008


On Thu, Mar 6, 2008 at 11:37 AM, Tristan Seligmann
<mithrandi at mithrandi.net> wrote:
> * Christopher Armstrong <radix at twistedmatrix.com> [2008-03-06 11:29:56 -0500]:
>
>
>  > Ok then, let's consider your approach. Let's say we have a multi-shot
>  > deferred object. How does our application code get a reference to it?
>  > How does the framework code get hooked up to the ultimate resource
>  > object that wants to handle this streaming data?
>
>  The same way it would get access to a one-shot Deferred.

I'm not sure how that applies. I really don't know how it would work.
Generally, getting access to a one-shot deferred is done by calling a
function which represents a request of some sort. This, on the other
hand, is the opposite: the request is being made of the resource, and
some data is being uploaded.


-- 
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/



More information about the Twisted-web mailing list