Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/g/r/gracie-0.2.11/gracie/httprequest.py   gracie(Download)
    def _get_username_from_identity(self, identity):
        """ Parse a local username from an OpenID URL """
        name = None
        (_, _, path, _, _) = urlparse.urlsplit(identity)
        route_map = mapper.match(path)
        values = urlparse.urlsplit(self.path)
        self.parsed_url = dict(zip(keys, values))
        self.route_map = mapper.match(self.parsed_url['path'])
 
    def _parse_query(self):
    def do_POST(self):
        """ Handle a POST request """
        self._setup_auth_session()
        self.route_map = mapper.match(self.path)
        content_length = int(self.headers['Content-Length'])

src/o/p/OpenGov-Hack-Day-Melting-Pot-HEAD/code/app.py   OpenGov-Hack-Day-Melting-Pot(Download)
def dispatch(env, req):
    route = routes.Mapper()
    route.environ = env
    route.connect(':action/:id', controller=hello)
    return route.match(req.path)