Changeset 2449
- Timestamp:
- 06/14/09 23:48:10
- Files:
-
- trunk/cherrypy/_cperror.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/_cperror.py
r2414 r2449 223 223 tb = format_exc() 224 224 response.headers['Content-Type'] = "text/html;charset=utf-8" 225 response.headers.pop('Content-Length', None) 225 226 226 227 content = self.get_error_page(self.status, traceback=tb, 227 228 message=self._message) 228 229 response.body = content 229 response.headers['Content-Length'] = len(content)230 230 231 231 _be_ie_unfriendly(self.code)

