Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(5)  |  Derive(0)  |  Import(1)

src/w/e/Webware-for-Python-1.1.1/WebKit/URLParser.py   Webware-for-Python(Download)
 
from HTTPExceptions import HTTPNotFound, HTTPMovedPermanently
from MiscUtils.ParamFactory import ParamFactory
from WebUtils.Funcs import urlDecode
 
        req._serverSideContextPath = context
        req._contextName = contextName
        fpp = FileParser(context)
        return fpp.parse(trans, requestPath)
 
                # directories are dispatched to FileParsers
                # rooted in that directory
                fpp = FileParser(name)
                return fpp.parse(trans, restPart)
 
            if redirTo:
                if isinstance(redirTo, basestring):
                    fpp = FileParser(os.path.join(self._path, redirTo))
                else:
                    fpp = redirTo
                path = os.path.join(self._path, path)
                if isinstance(path, basestring):
                    parser = FileParser(os.path.join(self._path, path))
                else:
                    parser = path