[Web-SIG] WSGI 2.0

Graham Dumpleton graham.dumpleton at gmail.com
Fri Mar 30 03:10:17 CEST 2007

On 30/03/07, Ian Bicking <ianb at colorstudy.com> wrote:
> Do we want to discuss WSGI 2.0?  I added a wiki page here to list
> anything anyone wants to discuss for 2.0: http://wsgi.org/wsgi/WSGI_2.0
> I've listed the things I can remember, and copying here:
> ...
> Optional keys (removing)
> ------------------------
> Several keys are optional in WSGI, but required in CGI, in particular
> ``SCRIPT_NAME``, ``PATH_INFO`` and ``QUERY_STRING``.  Also
> ``REMOTE_ADDR`` and ``SERVER_SOFTWARE`` are supposed to exist.

Huh. Where does it say that SCRIPT_NAME can be optional in WSGI. I
know it can be empty if mount point is the root of the web server, but
that it can not be there at all is new to me.

One other issue if aiming at supporting chunked encoding for a
request, is how (if one even can) make available the trailing headers
if present after the final null data block. Personally I am not sure
this one is worth the trouble and may be quite hard to even implement
with some web servers as they don't even provide them as a separate
set of headers but simply merge them on top of the main request


More information about the Web-SIG mailing list