summaryrefslogtreecommitdiff
path: root/wsgitools/middlewares.py
AgeCommit message (Collapse)Author
2011-11-30shrink AuthenticationMiddleware.authenticate interfaceHelmut Grohne
The method no longer receives a start_response and is no longer responsible for calling self.app. Instead it returns a dictionary with the result of the authentication.
2011-11-27added new base class AuthenticationMiddlewareHelmut Grohne
The BasicAuthMiddleware and AuthDigestMiddleware now derive from AuthenticationMiddleware which provides common functionality.
2011-07-22BasicAuthMiddleware docstring: mention REMOTE_USERHelmut Grohne
2011-06-01improved doc string for middlewares.ContentLengthMiddlewareHelmut Grohne
2011-01-12DictAuthChecker.__call__ should take an environwsgitools-0.2.2Helmut Grohne
as this is tried by BasicAuthMiddleware first.
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.
2010-09-04added note about ContentLengthMiddleware's wsgi conformanceHelmut Grohne
2010-09-04CachingMiddleware: automatic cache pruning implementedHelmut Grohne
2010-09-04middlewares.CachingMiddleware: include request method in keyHelmut Grohne
2010-08-31bugfix: io module from py2.6 provides incompatible StringIOHelmut Grohne
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-02-27except binascii.Error instead of Exception in middlewaresHelmut Grohne
2008-10-14added epydoc markup to doc stringsHelmut Grohne
2008-09-22improve commentsHelmut Grohne
2008-09-10change BasicAuthMiddleware againHelmut Grohne
2008-09-09made error page for BasicAuthMiddleware configurableHelmut Grohne
2008-09-09update BasicAuthMiddleware docs to reflect api changeHelmut Grohne
2008-07-12fix some comments and epydocify themHelmut Grohne
2008-07-12refactor middlewares.NoWriteCallableMiddlewareHelmut Grohne
2008-07-08add environ param to check_function in middlewares.BasicAuthMiddlewareHelmut Grohne
The check_function passed to the BasicAuthMiddleware constructur will now receive a third parameter environ to check against additional things. If the function does not take a third parameter the function will be called in the old manner thus maintaining backwards compatibility.
2008-03-29fix middleware start_reponse to accept only two parametersHelmut Grohne
2008-03-28fixed non-fatal bugsHelmut Grohne
2008-03-27epydoc updateHelmut Grohne
2008-02-28refactored docstrings for epydocHelmut Grohne
2007-04-21added some assertionsHelmut Grohne
2007-04-21fixed NoWriteCallableMiddleware with exc_info !Helmut Grohne
2007-04-20added better support for HEADHelmut Grohne
2007-04-15added docstringsHelmut Grohne
2007-04-15don't except: when knowing whats thrownHelmut Grohne
2007-04-15TracebackMiddleware catches more exceptionsHelmut Grohne
2007-04-15fixed indenting with tabsHelmut Grohne
2007-04-14added TracebackMiddlewareHelmut Grohne
2007-04-14initial treeHelmut Grohne