E&S CVS Commit: wsgiref - Added "sensible default error handling", auto-calc of Content-Length, and

pje at eby-sarna.com pje at eby-sarna.com
Wed Oct 6 14:28:00 EDT 2004


Module Name:	wsgiref
Committed By:	pje
Date:		Wed Oct  6 18:27:12 UTC 2004

Modified Files:
	wsgiref/src/wsgiref: handlers.py
	wsgiref/src/wsgiref/tests: test_handlers.py

Log Message:
Added "sensible default error handling", auto-calc of Content-Length, and
various documentation enhancements.  Handlers will now log exceptions to
'wsgi.errors' by default, and generate a trivial client error message
(that can easily be changed in subclasses).  Added tests for "error before
headers sent" and "error after headers sent" scenarios.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/wsgiref/src/wsgiref/handlers.py.diff?r1=1.2&r2=1.3
http://cvs.eby-sarna.com/wsgiref/src/wsgiref/tests/test_handlers.py.diff?r1=1.2&r2=1.3

To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 wsgiref/src/wsgiref/handlers.py
cvs rdiff -r1.2 -r1.3 wsgiref/src/wsgiref/tests/test_handlers.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list