Lines Matching defs:Response
14 from servlet import Servlet, Response
52 return Response.Redirect('/' + path, permanent=True)
72 return Response.NotFound(response.content.ToString(),
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)