[Twisted-web] resource constructor called on every request
Remi Cool
mailinglists at smartology.nl
Thu Nov 24 01:18:26 MST 2005
Remi Cool wrote:
>Something else ... in locateChild ->
>
>if segments[0] == '':
> # If the server is looking for the root page segments will be ('',)
> # then renderHTTP will be called on self
>
>When I return self, () a max recursion error is the result ... what
>should I return here?
>
>
When I return: self.renderHTTP(self), () ... it looks like it's going
ok, is this the correct way?
- Remi -
More information about the Twisted-web
mailing list