1. cherrypy
  2. CherryPy

Source

CherryPy / cherrypy / _cptools.py

The default branch has multiple heads

Author Commit Message Date Builds
Robert Brewer
Test and fix for #661 (Cannot create tool out of an object callable). Also a better docstring for HandlerTool.
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
Oops; session locking should default to 'implicit'.
Robert Brewer
Fix for #630 (Implicit session locking before_request_body harms uploads). I moved the handling of tools.sessions.locking out of sessions.init and into the Tool. Locking can now be "implicit" (before_handler), "early" (before_request_body), or "explicit" (none).
Robert Brewer
Fix for #595 (Allow tool priorities to be overridden in config).
Robert Brewer
Fixed bug in caching; invalid methods did not delete cached resource. See #509.
Robert Brewer
Faster {{{Toolbox.__enter__}}}
Robert Brewer
Fix for #609 (Support for IronPython 1.0).
Robert Brewer
Fix for #600 (InternalRedirect does double duty). This dispwrappers.patch changes vhost and xmlrpc from using InternalRedirect (which rewrites request.path_info) to dispatch wrapper functions (which do not).
Robert Brewer
Some tool buglets and docs.
Robert Brewer
Removed failsafe attr get from Tool (which merely duplicated the one inside Hook).
Robert Brewer
Concurrency bug.
Robert Brewer
New tools.accept(media). See test_misc_tools.py for usage.
Robert Brewer
Better support for custom toolboxes and namespaces: 1. Each Toolbox is now its own config namespace handler, and self-registers as such. 2. The global, app, and request contexts now each allow (but do not force) config namespace handlers to be PEP 343-style context managers, with {{{__enter__}}} and {{{__exit__}}} methods. 3. Each Toolbox and Tool has a new "namespace" attribute. Each Tool automatically inherits the namespace attribute of its To…
Robert Brewer
Moved _cprequest.flattener to cherrypy.tools.flatten.
Robert Brewer
Hooray. vhost can run early now.
Robert Brewer
Bugfix for tools.basic_auth and digest_auth (names didn't have underscores).
Robert Brewer
Fix to tool priorities.
Robert Brewer
A couple more priorities for tools.
Robert Brewer
Fix for #562 (Redirect for slash doesn't use tools.proxy.base). Moved slash checking into new tools.trailing_slash(missing=True, extra=False), which is on by default. The core now sets request.is_index to allow such tools to work. In addition, if that tool is off, mismatched slashes will be corrected in cherrypy.url.
Sylvain Hellegouarch
Split the httpauth code for licensing potential issue.
Sylvain Hellegouarch
Added basic and digest tools
Robert Brewer
New tools.referer, and moved test_response_headers into new test_misc_tools.
Robert Brewer
Fix for #548 (Rename the before_main hook to before_handler and MainTool to HandlerTool).
Robert Brewer
cptools.session_auth was growing an unwieldy number of parameters, so I moved it from a functional approach to an object. Also moved _cptools.setargs to Tool._setargs.
Robert Brewer
Fix for #535 (Apache re-processes Range headers). _cpmodpy now uses a new "ignore_headers(['Range'])" Tool by default.
Robert Brewer
Changed every instance of 'conf' in the API to 'config'.
Robert Brewer
Fix to CachingTool for new kwargs.
Robert Brewer
Reorganized the caching tool code.
Robert Brewer
Hook priority system: 1. All hook callbacks are now wrapped in an instance of _cprequest.Hook, where failsafe, priority, and kwargs are now stored. 2. Hooks are run in order of their "priority" attribute; lower numbers first. Default 50, range 0-100, floats OK. 2. cherrypy namespace: moved "serving" to "_serving", added cherrypy.Tool, changed "LogManager" to "_LogManager". 3. Set gzip.priority to 90.
  1. Prev
  2. 1
  3. 2
  4. Next