Home | History | Annotate | Download | only in server2

Lines Matching defs:Response

14 from servlet import Servlet, Response
52 return Response.Redirect('/' + path, permanent=True)
69 response = self._GetSuccessResponse(path_404, server_instance)
70 if response.status != 200:
72 return Response.NotFound(response.content.ToString(),
73 headers=response.headers)
76 return Response.NotFound('Not Found', headers=_MakeHeaders('text/plain'))
79 '''Returns the Response from trying to render |path| with
96 return Response.Redirect(redirect, permanent=False)
101 return Response.Redirect('/' + redirect_path, permanent=False)
106 return Response.Redirect('/' + request_path.rstrip('/'),
150 return Response.NotModified('Not Modified', headers=headers)
151 return Response.Ok(content, headers=headers)