Commits

Author Commit Message Labels Comments Date
Robert Brewer
Attempt to re-use the _cpwsgiserver listener socket on UNIX platforms. Not tested.
Branches
cherrypy
Robert Brewer
New Tool.enable method (compile-time decorator to set the wrapped function's _cp_config).
Branches
cherrypy
Robert Brewer
Removed "filter" from lots of places, including renaming of tests.
Branches
cherrypy
Robert Brewer
Fix for #530 (CherryPyWSGIServer does not always initalize self.socket) in 2.x and trunk.
Branches
cherrypy
Robert Brewer
Added the required WSGI request.close() call (thanks amix!).
Branches
cherrypy
Robert Brewer
tree.mount now strips trailing slash on script_name.
Branches
cherrypy
Sylvain Hellegouarch
All tutotials were missing an import os.path and could not run
Branches
cherrypy
Robert Brewer
Comment improvements.
Branches
cherrypy
Robert Brewer
New tree.app.guess_abs_path method.
Branches
cherrypy
Robert Brewer
Might as well keep track of InternalRedirects.
Branches
cherrypy
Robert Brewer
Made tree.Application.script_name, and it now defaults to "", not "/".
Branches
cherrypy
Robert Brewer
Bah. I knew I had config.merge in there for a reason.
Branches
cherrypy
Robert Brewer
Fixed xmlrpc tool to use InternalRedirect (only when needed!).
Branches
cherrypy
Robert Brewer
New tests for params with virtual_host.
Branches
cherrypy
Robert Brewer
Dispatch and config lookup now happens as early as possible, once per request (unless InternalRedirect is raised). Also moved the logging code out of {{{_cputil}}} and into {{{__init__}}}. xmlrpc still needs fixed so it doesn't re-write path_info.
Branches
cherrypy
Robert Brewer
Fix to benchmark.py for globalconf.
Branches
cherrypy
Robert Brewer
Moved log_access to a config entry.
Branches
cherrypy
Robert Brewer
Fixed a bug in TestHarness (no base conf when using --profile).
Branches
cherrypy
Robert Brewer
Moved the profiler setup into _cprequest (so it's all in one place now).
Branches
cherrypy
Robert Brewer
Renamed _cp_log_message to "_cputil.log", and moved its customization from a special attribute to a config entry ('log_function'). Since that was the last special attribute, removed _cputil.get_special_attribute entirely.
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
Moved covercp, profiler to tree.mount syntax.
Branches
cherrypy
Robert Brewer
Moved the following config keys out of the "server." namespace (so that "server." may mean "httpserver"): * default_content_type * log_access_file * log_config_options * log_file * log_file_not_found * log_request_headers * log_to_screen * show_tracebacks * throw_errors
Branches
cherrypy
Robert Brewer
New cherrypy.set_config(**kwargs) decorator for setting _cp_config on a method. Also better errors on lookup of request attrs when not in a request.
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
Fix for #426 (cherrypy.expose alias problems with dots).
Branches
cherrypy
Robert Brewer
Partial fix for #511 (wsgi default encoding).
Branches
cherrypy
Robert Brewer
Fix for #508 (Content-Type for 304s).
Branches
cherrypy
Robert Brewer
Fixed bug in staticdir test.
Branches
cherrypy
Robert Brewer
Fix for #328 (encoding 'errors' argument).
Branches
cherrypy
  1. Prev
  2. Next