In an effort to quell a warning from
wsgiref's validator, QUERY_STRING will now default to an empty string if it doesn't exist in the environ. Despite not being required to always be present by the WSGI spec, it looks like the cgi module will assume sys.argv[1] is the query string if QUERY_STRING isn't present in the environ.
Also, I changed the keyword parameters in GzipMiddleware a bit:
- mimeTypes -> mime_types
- compresslevel -> compress_level
Lastly, unless I hear from people otherwise, I will be removing
flup.publisher and
flup.resolver from flup.
And as far as
flup.middleware goes, ErrorMiddleware will be disappearing as well. There are better options from
Paste, especially
paste.evalexception for development. GzipMiddleware and SessionMiddleware are now currently looking for a new home, as I would like to remove them from flup eventually too.