Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/w/h/whiff-1.1/whiff/resolver.py   whiff(Download)
                url = request_uri(env, False)+"/"
                #pr "redirecting to", repr(url)
                from whiff.middleware.redirect import redirect
                page = wrapped_application(redirect(url))
                page.bind_root(self.whiff_root_application, self.whiff_responding_path, self.whiff_path_remainder, self.whiff_outer_arguments)
            redirect_to = redirect_to[1:]
        #pr "redirecting to", redirect_to
        app = redirect.redirect(redirect_to)
        return app(env, start_response)