Changeset 2452
- Timestamp:
- 06/14/09 23:56:27
- Files:
-
- trunk/cherrypy/_cprequest.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/_cprequest.py
r2447 r2452 429 429 overriding HTTPError.set_response. 430 430 431 If a callable is provided, it will be called by default with keyword 431 If a callable is provided, it will be called by default with keyword 432 432 arguments 'status', 'message', 'traceback', and 'version', as for a 433 string-formatting template. The callable must return a string which434 will be set to response.body. It may also override headers or perform435 any other processing.433 string-formatting template. The callable must return a string or iterable of 434 strings which will be set to response.body. It may also override headers or 435 perform any other processing. 436 436 437 437 If no entry is given for an error code, and no 'default' entry exists,

