On Friday December 07, 2001 04:43 pm, Chuck Esterbrook wrote:
> On Thursday 06 December 2001 12:04 pm, Love, Jay wrote:
> > From memory, with cgi, if there is a location header, a redirect is
> > assumed. With mod_webkit, you need to set the response code, I think.
>
> Yipee! That was it. Thanks, Jay.
>
>       def _respond(self, trans):
>               trans.response().setHeader("Location", "Home/")
>               trans.response().setStatus(302, 'Moved')
>

I'm wondering, why aren't you just using HTTPResponse.sendRedirect() ?  It 
already does this and more.

- Geoff

_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to