Source

CherryPy / tutorial / tut03_get_and_post.py

The branch 'cherrypy' does not exist.
Author Commit Message Labels Comments Date
Robert Brewer
Changed server.start to server.quickstart, and server.start_all to server.start.
Branches
cherrypy
Sylvain Hellegouarch
All tutotials were missing an import os.path and could not run
Branches
cherrypy
Robert Brewer
Root and config are now isolated per app: 1. object_path is now called path_info, and there's a new request.script_name attribute. This should equal the mount point of the current application. 2. cherrypy.root is gone, use cherrypy.request.app.root for now instead. Perhaps cherrypy.root will reappear and point to that. 3. cherrypy.tree.mount_points has been replaced with cherrypy.tree.apps, a dict of the form {script_name: Application(…
Branches
cherrypy
Robert Brewer
Separated cherrypy.server (HTTP) from cherrypy.engine (app): 1. Most CP apps must now make both a call to cherrypy.server.start(server=None) and a call to cherrypy.engine.start(blocking=True). 2. The on_start_server_list and on_stop_server_list are now on_start_engine_list and on_stop_engine_list. 3. "start_with_callback" is now an attribute of Engine. So is "request". 4. Server.start now takes a single "server" arg, which can be a server instance, a st…
Branches
cherrypy
Robert Brewer
Tutorial fixes, plus a bug in _cputil.getErrorPage.
Branches
cherrypy
Robert Brewer
Implements ticket #195. 1. cpg module removed, all content moved into cherrypy.__init__. 2. Removed some circular imports in sessionfilter by moving sessionfilter.sessionfilter and _sessionTypes into sessionfilter.__init__. 3. renamed _cpconfig to "config". 4. renamed _cpserver to "server". 5. renamed cperror to _cperror; cherrypy.__init__ now imports * from _cperror.
Branches
cherrypy
Robert Brewer
Merged new test suite from branches/ticket-177 into trunk.
Branches
cherrypy