Source

CherryPy / cherrypy / tutorial / tutorial.conf

Author Commit Message Labels Comments Date
Robert Brewer
Bye bye, py2/3.
Robert Brewer
Fix for #740 (Default server.socket_host to IPv4 address).
Sylvain Hellegouarch
Force server.socket_host to be localhost
Robert Brewer
Overhaul of config system: 1. New docstring for config module! 2. Put all entries into a config namespace. New deadlock, log, request and response namespaces. 3. Request and response entries now directly modify attributes of cherrypy.request and .response, and consumer code looks up those attributes, not config. This also allows interactive inspection of defaults. 4. Removed 'log_config' config entry. Use engine.on_star…
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
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…
Robert Brewer
Only one failing test now (sessions)!
Michael Robinson
implimented changes needed to re-close ticket:288
Michael Robinson
HTTPClientError renamed HTTPStatusError, removed some outdated session documentation
Michael Robinson
httperrors branch merged into the trunk, the configuration paramater "showTracebacks" is now "server.showTracebacks"
Michael Robinson
sessionfilter configuration improvements, once the last remaing calls to sessionconfig.retrieve are removed everything should be ready for a release.
Michael Robinson
nicer config.getAll, config.get no longer has a startPath, outputConfigMap is cleaner and it no longer logs erroneous static content and session content information. Several sessionFilter files renamed
Robert Brewer
Merged some useful updates from /branches/ooconf. Mostly speed tweaks, and removing some dead code.
Remi Delon
Now using 'global' for the main config key. ('/' still works but 'global' is the default). Still need to update the docs
Robert Brewer
1. Still fixing tests. All now pass except testObjectMapping. 2. Fixed misnamed _start in _cpserver.py. 3. _cpwsgiserver.WorkerThread now blocks on Queue.get(). 4. _cpwsgiserver.socket now has timeout to allow shutdown on Win32. 5. Test suite now checks for a free port upon each test.
Robert Brewer
Merged branches/ticket-151 into trunk. See CHANGELOG and the branch logs for details.
Remi Delon