Source

CherryPyFixTicketUrls / _cptools.py

Author Commit Message Labels Comments Date
Robert Brewer
More-explicit error when illegally passing positional arguments to tool decorators. Also, a new tool test for multiple decorators with kwargs.
Branches
cherrypy
Robert Brewer
Revamped session module. Much better tests. Cleanup is now in a separate, cycling Timer thread (with an entry in on_stop_engine_list). Moved cherrypy.request._session to cherrypy.serving.session.
Branches
cherrypy
Robert Brewer
Eliminated 'default_content_type' config entry by moving tools.response_headers to on_start_resource. If anyone still needs response headers to be set late, they can call tools.response_headers later, either in code or via a hook declared in config.
Branches
cherrypy
Christian Wyglendowski
1. New "expires" tool for setting the "Expires" header.
Branches
cherrypy
Robert Brewer
Some tool optimizations.
Branches
cherrypy
Robert Brewer
Oops. Forgot to make default Tidy tools.
Branches
cherrypy
Robert Brewer
Fix for #512 (Cookie.expires should be optional).
Branches
cherrypy
Christian Wyglendowski
Fix for #533. CP3 will behave correctly and return a Fault when an XML-RPC method is not found.
Branches
cherrypy
Robert Brewer
Expanded baseurl tool into a new proxy tool.
Branches
cherrypy
Robert Brewer
Renamed lib.encodings to lib.encoding to avoid shadowing the builtin.
Branches
cherrypy
Robert Brewer
Fake SessionTool attributes.
Branches
cherrypy
Robert Brewer
Heavily cleaned the namespace for Tool objects:
Branches
cherrypy
Robert 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
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