| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2714 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2691 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2690 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2689 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2185 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2184 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2181 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2180 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2179 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2178 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2177 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2176 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2174 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2173 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2172 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2171 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
|
|
|
| |
validate modules.
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2170 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2169 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2168 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2167 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2166 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2138 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2137 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2117 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2069 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@257 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
|
|
|
| |
correctly if 'start_response()' had already been called.
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@256 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@255 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@250 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
manipulation.
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@248 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
|
|
|
| |
implementation, all with tests.
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@247 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@246 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@242 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@241 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
| |
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@240 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
|
|
|
| |
include --with/--without options on individual commands.
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@239 571e12c6-e1fa-0310-aee7-ff1267fa46bd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|