summaryrefslogtreecommitdiff
path: root/wsgitools/applications.py
AgeCommit message (Collapse)Author
2012-06-28first part of bytes conversionHelmut Grohne
Convert the request body data from str to bytes. This replaces all StringIOs with BytesIOs (removing backwards one more backwards compatibility). Also all character sequences involved in request bodies get a b"" prefix. The StaticContent application takes bytes instead of str (no difference for py2x). The GzipWSGIFilter needs a fixed as a truncate of a BytesIO does not rewind the stream position.
2011-01-12bug fix for StaticContent and CachingMiddlewareHelmut Grohne
PEP333 says that the headers list passed to start_response may be modified by servers or middlewares. In fact this happens in DigestAuthMiddleware. The StaticContent and CachingMiddleware classes did not take this into account and returned the same headers list multiple times which is wrong and can lead to denial of service.
2009-10-25extended application.StaticContentHelmut Grohne
It gained the capability to server content to unknown methods. For a backwards-compatible API this has to be enabled by an optional boolean.
2009-03-29quite some changes for py3Helmut Grohne
These changes introduce some compatibility code. They don't make wsgitools usable with Python 3.0, but they also don't break compatibility with Python 2.5.
2009-01-31StaticFile uses wsgi.file_wrapper from environ if possibleHelmut Grohne
2008-10-14added epydoc markup to doc stringsHelmut Grohne
2008-09-22added applications.StaticFileHelmut Grohne
2008-09-22applications.StaticContent: fail on bad requestHelmut Grohne
2008-02-28refactored docstrings for epydocHelmut Grohne
2007-05-09fix too strict assertion in wsgitools.applicationsHelmut Grohne
2007-04-21added some assertionsHelmut Grohne
2007-04-20added better support for HEADHelmut Grohne
2007-04-14initial treeHelmut Grohne