summaryrefslogtreecommitdiff
path: root/cherrypy/lib/encoding.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Trunk fix for #577 (GzipFilter doesn't force an update of the Content-Length ↵Robert Brewer2006-10-201-0/+15
| | | | header). All code which could change the length of response.body should delete the Content-Length header (if already set).
* Removed unnecessary inner function.Robert Brewer2006-10-081-12/+9
|
* Better use of tools.encode.encoding.Robert Brewer2006-09-271-44/+46
|
* Fixed bug in encode (shouldn't attempt encode on any body chunk unless it's ↵Robert Brewer2006-09-271-3/+7
| | | | of type 'unicode').
* Fix for #569 (Encoding problems when accessing cherrypy instances from links).Robert Brewer2006-09-261-1/+1
|
* Fix to tool priorities.Robert Brewer2006-09-231-1/+1
|
* A couple more priorities for tools.Robert Brewer2006-09-161-1/+0
|
* Hook priority system:Robert Brewer2006-08-261-1/+1
| | | | | | | 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.
* Overhaul of config system:Robert Brewer2006-08-241-2/+1
| | | | | | | | | | | | | | | | | 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_start_engine_list.append(config.log_config) instead. 5. Old 'dispatch' entry is now 'request.dispatch'. 6. New log entries: log.error.file, log.error.function, log.access.file, log.access.function, log.screen. 7. 'server.max_request_body_size' is now 'request.max_body_size'. 8. environments now only apply to globalconf. 9. The 'development' environment has been removed, since its settings were all the default anyway. 10. The 'embedded' environment has been removed, since it duplicates the 'production' environment now. 11. There's a new 'test_suite' environment. 12. Removed log_file_not_found (from static.py). Something still needs to be done to config.wrap, so it can take dotted names as kwarg keys.
* Lots of mixedCase to lower_with_underscores.Robert Brewer2006-08-121-5/+5
|
* X-Forwarded-For should overwrite remote.ip, not remote.name.Robert Brewer2006-08-111-1/+1
|
* Renamed lib.encodings to lib.encoding to avoid shadowing the builtin.Robert Brewer2006-06-271-0/+220