[Twisted-web] Cheetah+twisted.web2

David Reid dreid at dreid.org
Wed Jan 18 21:34:39 MST 2006


On Thu, 2006-01-19 at 01:06 +0100, Andrea Arcangeli wrote:
> On Wed, Jan 18, 2006 at 03:18:00PM -0800, David Reid wrote:
> > On Wed, 2006-01-18 at 22:36 +0100, Andrea Arcangeli wrote:
> > > What branch are you looking at? I'm looking trunk and I see:
> > 
> > I'm looking at the mythical branch that I will create and apply your
> > patch to when you send me one. :)
> 
> Tell me how you want to override the getRemoteHost then

Ok, in the latest svn trunk the remote IAddress is exposed directly on
the request

this is set when the initial request is processed to
self.chanRequest.getRemoteHost() so just set req.remote_addr and use
that farther down the line.

Request.chanRequest won't be public much longer.

-David




More information about the Twisted-web mailing list