summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove dependency of ez_setupbaserock/masterFrancisco Redondo Marchena2014-10-241-3/+0
|
* Fix for <http://bugs.python.org/issue16220> - ensure close()HEADmasterpje2012-10-211-8/+8
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2714 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Add development checkout linkpje2010-10-051-0/+4
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2691 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Missing comma.pje2010-10-051-1/+1
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2690 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* WSGI 1.0.1, version bump, and new test() function.pje2010-10-058-15/+153
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2689 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Merge changes back from the Python trunk. :(pje2006-06-126-10/+9
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2185 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Fix broken assertions in wsgiref.validate and tests.pje2006-06-123-58/+62
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2184 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Fix problem in regrtest stanza for 2.5pje2006-06-091-1/+1
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2181 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Add testing epilogue for compatibility w/Python 2.5 stdlib test suitepje2006-06-091-0/+41
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2180 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Incorporate some of Joe Gregorio's proposed doc changespje2006-06-092-2/+7
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2179 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* 0.1 releasepje2006-06-072-2/+13
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2178 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Incorporate AMK's doc cleanups.pje2006-06-071-15/+15
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2177 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Finish wsgiref.handlers docs.pje2006-06-062-9/+281
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2176 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Document wsgiref.validate and (partially) wsgiref.handlers. Add __all__ pje2006-06-064-33/+89
| | | | | | | | to wsgiref.handlers and rename wsgiref.validate.middleware to wsgiref.validate.validator. git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2175 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Docs for wsgiref.simple_serverpje2006-06-061-20/+102
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2174 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Fix line-end and mime-type for .tex filespje2006-06-050-0/+0
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2173 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Partial doc draftpje2006-06-052-0/+458
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2172 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Cosmetic changepje2006-06-051-6/+6
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2171 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Add 'make_server()' convenience factory, and tests for simple_server and pje2006-06-052-54/+95
| | | | | | | validate modules. git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2170 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Removed empty src directorypje2006-06-050-0/+0
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2169 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Consolidate tests into a single module for better stdlib compatibilitypje2006-06-056-657/+534
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2168 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Get rid of 'src' subdirectorypje2006-06-0511-2/+1
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2167 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Add paste.lint as wsgiref.validatepje2006-06-053-11/+441
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2166 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
* Fix test broken by Guido's date patch.pje2006-05-201-8/+8
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2137 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
* Migrate wsgiref package to use common ez_setup checkout.pje2005-07-0913-1713/+3
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2069 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Fix too-picky regex that caused match failure in Python 2.3 and up, whichpje2004-12-011-1/+1
| | | | | | | | | apparently changed the HTTP 'Date:' header format to allow a leading space on the day instead of a leading zero. Test should now work on 2.2-2.4. Bug reported by Alain Poirier, R. David Murray, and Ulrich Eck. git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@260 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Fixed editing error converting old peak.util.WSGIServer topje2004-11-261-1/+1
| | | | | | | wsgiref.simple_server. (Thanks to James Gardner for the bug report.) git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@259 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Fix a problem with 'application_uri()' calculation: HTTP_HOST can includepje2004-10-172-10/+10
| | | | | | | the port, so don't append SERVER_PORT unless there's no HTTP_HOST. git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@258 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
* Moved 'peak.util.WSGIServer' to 'wsgiref.simple_server'.pje2004-10-082-3/+210
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@255 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
* Fix an edge case in path shifting/traversal: if SCRIPT_NAME is '' andpje2004-10-072-11/+11
| | | | | | | | | | PATH_INFO is '/', then shifting should yield an empty name, SCRIPT_INFO should become '/', and PATH_INFO should become ''. This breaks the normal rules about SCRIPT_NAME never ending with '/', and some tests needed updating for this. git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@253 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Improved support for different client and server HTTP versions,pje2004-10-066-69/+150
| | | | | | | | | | | 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-062-67/+213
| | | | | | | | | | 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-063-11/+13
| | | | 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-065-8/+552
| | | | | | | | 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
* Add a wsgiref.headers.Headers class to allow easy HTTP response headerpje2004-10-054-38/+397
| | | | | | | manipulation. git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@248 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Added miscellaneous environment-processing utilties, and a 'FileWrapper'pje2004-10-053-2/+371
| | | | | | | implementation, all with tests. git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@247 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Created initial "setup and test" shell for 'wsgiref' library.pje2004-10-053-0/+62
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@246 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Compute command line that should be passed to child setup scripts.pje2004-03-223-23/+146
| | | | | | | | Warn user if unsupported options are supplied, and cancel unless 'depends -i' (aka '--ignore-extra-args') was used. git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@245 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Flesh out 'depends' command to display dependencies' status, and halt ifpje2004-03-204-46/+140
| | | | | | | | | | | | | | | | | | | | all requirements aren't met. (Also, check planned install location for the dependencies, as well as checking sys.path.) Also: * Allow 'Feature()' objects to include 'Require()' objects, so that dependencies can be optional * 'Require()' objects can set a homepage, whose URL will be displayed by the 'depends' command if the dependency needs to be installed. * Misc. fixes/refactoring of version validation to properly handle "unknown" versions, and to decouple version fetching from version checking. * Updated TODO to remove various completed items. git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@244 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Added 'setuptools_boot' module that can be distributed separately, and willpje2004-03-191-0/+33
| | | | | | | | | automatically download and locally install the requested version of setuptools. (This also provides an early draft of functions needed for dependency installation.) git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@243 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Fix generating bad output files list when data files are installed.pje2004-03-182-0/+19
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@242 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Fix setuptools not creating output list correctlypje2004-03-181-1/+1
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@241 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Added skeleton 'depends' command, that will check/install dependencies.pje2004-03-107-21/+62
| | | | git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@240 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Misc. cleanups: findPackages -> find_packages, use standard paths, don'tpje2004-03-093-28/+33
| | | | | | | include --with/--without options on individual commands. git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@239 571e12c6-e1fa-0310-aee7-ff1267fa46bd
* Added basic 'Require()' class that can check whether a requirement ispje2004-03-082-1/+329
| | | | | | | | | | | | | | | | | | | | | installed in a particular location or set of locations, and up-to-date. Smart defaults make most version checks trivial, e.g.: Require('Something','1.2','some.thing').is_current() Require('Other',None,'other.thing',attribute='someFunc').is_current() Require('Existentialism',None,'existenz').is_current() The first line checks whether the 'some.thing' module defines a '__version__' constant that compares >='1.2' (using smart version parsing from 'distutils.version'). The second checks whether 'other.thing' defines 'someFunc'. (This latter form ('requested_version=None') is used to do version sniffing on modules that don't define a version attribute.) The third format just checks for the existence of the named module. git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@238 571e12c6-e1fa-0310-aee7-ff1267fa46bd