Source

Webware / WebKit / Testing / Forward2.py

Full commit
1
2
3
4
5
6
7
from WebKit.HTTPServlet import HTTPServlet


class Forward2(HTTPServlet):

    def respond(self, trans):
        trans.application().forward(trans, 'Dir/Forward2Target' + trans.request().extraURLPath())