Changeset 2451
- Timestamp:
- 06/14/09 23:56:07
- Files:
-
- branches/python3/cherrypy/_cprequest.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/python3/cherrypy/_cprequest.py
r2448 r2451 427 427 If a callable is provided, it will be called by default with keyword 428 428 arguments 'status', 'message', 'traceback', and 'version', as for a 429 string-formatting template. The callable must return a string which430 will be set to response.body. It may also override headers or perform431 any other processing.429 string-formatting template. The callable must return a string or iterable of 430 strings which will be set to response.body. It may also override headers or 431 perform any other processing. 432 432 433 433 If no entry is given for an error code, and no 'default' entry exists,

