The following redirect works with OneShot.cgi, but not with mod_webkit:

from WebKit.HTTPServlet import HTTPServlet

class Main(HTTPServlet):

        def _respond(self, trans):
                trans.response().setHeader("Location", "Home")

        def respondToGet(self, trans):
                self._respond(trans)

        def respondToPost(self, trans):
                self._respond(trans)



Where there is obviously a Home.py in the same directory. With mod_webkit 
the behavior is simply a blank page. eg, no redirect.

Jay, since you wrote mod_webkit, I was wondering what you thought of this?


-Chuck

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

Reply via email to