[Twisted-web] Adding data to the request

Syver Enstad syver at inout.no
Thu Sep 16 03:52:11 MDT 2004


Matt Goodall <matt at pollenation.net> writes:

>     request.setComponent(IFoo, foo)
> 
> 
> And finally, do something like this to retrieve the data from the
> request:
> 
>     foo = request.getComponent(IFoo)

Thanks Matt that certainly seems to do what I want. If the foo object
also disappear when the request is finished then this is exactly what
I want.




More information about the Twisted-web mailing list