Author Commit Message Labels Comments Date
Robert Brewer avatarRobert Brewer
Made cherrypy.request and .response more sef-documenting by populating their attribute dicts outside a request.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Heavily cleaned the namespace for Tool objects:
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Bah. Silly iteritems.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Removed the wrap method from Tool, since the enable method should meet all cases better. Also fixed a bug where request.hooks was not being reinitialized on internalredirect. Also added code to guard against recursive internalredirects. Finally, fixed a couple of dict iterations that were missing iteritems.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Removed inspect import in cherrypy.decorate, decorateAll.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Renamed httptools to "http" to reduce confusion with new cherrypy.tools. Moved non-Tool-related code from cptools to {{{lib/__init__}}}. Added docstrings.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fixed bad import in test_http.py
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Got rid of _cperror.Error base class, and "from _cperror import *" in top level.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
More Python 2.3 safety and coments.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
httptools.Version was overengineered. Shame on me. Using tuples gives a 2-3% speed boost.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Sometimes I really hate .pyc's
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Moved coverage out of the core.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Separated tool construction from default toolbox by renaming cherrypy.tools module to _cptools, and binding cherrypy tools to a new _cptools.default_toolbox object. Also cleaned up the top-level cherrypy namespace quite a bit, and moved some user code out of lib.cptools.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
More unnecessary imports removed.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Merged _cputil into _cprequest.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fixed (Python 2.4-style) decorator.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fix for #490 (InternalRedirect should auto-detect params). Removed the "params" arg from InternalRedirect; set cherrypy.request.params directly (before raising InternalRedirect) instead.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Removed unused import.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fix for #507 (InternalRedirect supports only absolute paths). Paths relative to script_name are now possible by omitting the leading slash from the path.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fix for #509 (don't cache for POST, PUT, DELETE).
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Made Engine.stop check Engine.state. This allows e.g. mod_python to call stop() once per thread on shutdown.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Removed cherrypy.NotReady. Instead, cherrypy.engine will return HTTP 503 Service Unavailable, and cherrypy.server will raise IOError.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Removed duplicate wait_for_occupied_port logic.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fix for #524 (tests fail on python < 2.4).
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fix for #502 (log errors by default).
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Reinstated default favicon (when an app is mounted at webserver root).
Branches
cherrypy
Robert Brewer avatarRobert Brewer
New cherrypy.quickstart function.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Reverting [1116] for now until tests can be made.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
A little hook/tool refactoring. Moved HookMap from tools module to _cprequest, and consolidated toolmap and tool setup into a new Request.tool_up method.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fix for #531 (Make an ETag tool). Also refactored If-Modified-Since validation.
Branches
cherrypy
  1. Prev
  2. Next
Help
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.