Lines Matching defs:cherrypy
30 import cherrypy
31 import cherrypy.lib.static
62 raise cherrypy.HTTPError(http_client.NOT_FOUND,
65 raise cherrypy.HTTPError(http_client.SERVICE_UNAVAILABLE,
72 # Starting in CherryPy 3.2, cherrypy.response.body only allows
82 cherrypy.log("Error encountered while processing "
85 raise cherrypy.NotFound()
98 raise cherrypy.NotFound()
126 return cherrypy.lib.static.serve_file(os.path.join(
137 cherrypy.log("Template '{path}' is incompatible with current "
140 cherrypy.log("Ensure that the correct --content-root has been "
151 raise cherrypy.HTTPRedirect(e.data)