summaryrefslogtreecommitdiff
path: root/src/wsgiref/handlers.py
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of 'src' subdirectorypje2006-06-051-492/+0
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2167 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Fix self.sendfile() never being called.pje2006-05-201-7/+7
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2138 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Implement Guido's patch for proper HTTP ``Date:`` header formatpje2006-03-241-11/+11
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2117 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Flush exceptions sent to stderr.pje2004-10-141-3/+3
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@257 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Fix wsgiref bug reported by Robert Brewer: error output wasn't workingpje2004-10-141-1/+1
| | | | | | | correctly if 'start_response()' had already been called. git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@256 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Update peak.util.WSGIServer to latest WSGI version, ditching the oldpje2004-10-081-20/+61
| | | | | | | | IRerunnableCGI interface that it used. Add a new subclass to 'wsgiref.handlers', suitable for HTTP/1.0 origin servers like WSGIServer. git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@254 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Improved support for different client and server HTTP versions,pje2004-10-061-38/+38
| | | | | | | | | | | including optional Date: and Server: header generation, and support for SERVER_PROTOCOL. Added hop-by-hop header check (and utility function). Headers() objects also now have a 'setdefault()' method. The BaseHandler.send_status() method has been replaced by a send_preamble() method, and you probably no longer need to override it. git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@252 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Added "sensible default error handling", auto-calc of Content-Length, andpje2004-10-061-58/+140
| | | | | | | | | | 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. git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@251 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Fix 'last_call' references that should've been 'run_once'; Misc. doc fixes.pje2004-10-061-8/+8
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@250 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Added first draft of a base class for creating servers and gateways, withpje2004-10-061-0/+369
a (very) minimal test suite, and relatively few of the optional features implemented. git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@249 571e12c6-e1fa-0310-aee7-ff1267fa46bd