summaryrefslogtreecommitdiff
path: root/wsgitools/middlewares.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2010-09-04 20:27:41 +0200
committerHelmut Grohne <helmut@subdivi.de>2010-09-04 20:27:41 +0200
commit5743d081855fb71db736e6319b1deb6363994c0c (patch)
tree007e73bce0a4c0f006dcff9bb2c752429b714e80 /wsgitools/middlewares.py
parent34f4a0155c2c6d0c83940af8b1501a4afab47b59 (diff)
downloadwsgitools-5743d081855fb71db736e6319b1deb6363994c0c.tar.gz
added note about ContentLengthMiddleware's wsgi conformance
Diffstat (limited to 'wsgitools/middlewares.py')
-rw-r--r--wsgitools/middlewares.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/wsgitools/middlewares.py b/wsgitools/middlewares.py
index b6e5d54..46a93f5 100644
--- a/wsgitools/middlewares.py
+++ b/wsgitools/middlewares.py
@@ -124,6 +124,8 @@ class ContentLengthMiddleware:
Please note that a value larger than 0 will violate the wsgi standard.
The magical value C{()} will make it always gather all data.
@type maxstore: int or ()
+ @note: that setting maxstore to a value other than 0 will violate the
+ wsgi standard
"""
self.app = app
self.maxstore = maxstore