Source

CherryPy / cherrypy / _cpmodpy.py

The branch 'cherrypy-3.0.x' does not exist.
Author Commit Message Labels Comments Date
Robert Brewer
New engine.release method, which decouples request and engine. Also new server.base method, which simplifies cherrypy.url. Finally, cherrypy._serving is promoted to cherrypy.serving, and has a new "load" method.
Robert Brewer
InternalRedirect changes:
Sylvain Hellegouarch
Updated docstring with a basic example on how to use the _cpmodpy module
Robert Brewer
Fix for #535 (Apache re-processes Range headers). _cpmodpy now uses a new "ignore_headers(['Range'])" Tool by default.
Robert Brewer
Overhaul of config system:
Robert Brewer
Fix for #553 (pure WSGI apps on the tree). Request.app now MUST be a cherrypy.Application instance (not None) before Request.run() is called.
Robert Brewer
Moved some Apache control code from benchmark to _cpmodpy, where it can be more useful.
Robert Brewer
Lots of mixedCase to lower_with_underscores.
Robert Brewer
Replaced request.remote_addr, remote_port, and remote_host with a single "remote" attribute, an instance of lib.http.Host, which has "ip", "port" and "name" attributes. Added a similar request.local attribute. Changed request() signature to (local, remote, scheme). This allows requests run behind multiple HTTP servers to know the address info for their particular connection.
Robert Brewer
WSGI-related changes:
Robert Brewer
Added bare_error trap in _cpmodpy (which fixes some failing tests). Also dropped redundant cookie logic in _cpmodpy.
Robert Brewer
Much Better Logging (see #256). Apps now have their own access and error loggers (whose config entries must be at "/"), and the global access logger has been removed (although you can make one manually if you like).
Robert Brewer
Fix for mp < 3.1 which didn't have apache.mpm_query.
Robert Brewer
First inclusion of jamwt's mpcp into CP distro as _cpmodpy.py. Some tests fail, especially tutorials.