Home | History | Annotate | Download | only in server2

Lines Matching refs:Redirect

49     # anymore. Redirect from the old state.
52 return Response.Redirect('/' + path, permanent=True)
82 are Ok and Redirect.
88 redirect = Redirector(
90 content_provider.file_system).Redirect(self._request.host, path)
91 if redirect is not None:
94 if not redirect.startswith(('/', 'http://', 'https://')):
95 redirect = '/' + posixpath.join(serve_from, redirect)
96 return Response.Redirect(redirect, permanent=False)
101 return Response.Redirect('/' + redirect_path, permanent=False)
105 # to redirect as though it were a file.
106 return Response.Redirect('/' + request_path.rstrip('/'),