[Twisted-Python] Woven page instances deferring to each other...
dp at twistedmatrix.com
Wed Oct 8 02:21:48 EDT 2003
On Oct 8, 2003, at 2:02 AM, Mary Gardiner wrote:
> If there's any way you can determine if the error has happened before
> the child page starts rendering, then I suspect it would be nicer to do
> the error check at child creation time, rather than when the child
Since woven renders the entire page before it calls request.write, any
portion of the view rendering code which detects an error is able to
call request.redirect (because we can still set headers since we
haven't written any of the body yet). Just thought I'd chuck that out
there, it may be totally irrelevant.
More information about the Twisted-Python