summaryrefslogtreecommitdiff
path: root/wsgitools/middlewares.py
diff options
context:
space:
mode:
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 b37b130..97b8092 100644
--- a/wsgitools/middlewares.py
+++ b/wsgitools/middlewares.py
@@ -137,6 +137,8 @@ class ContentLengthMiddleware(object):
wsgi standard
"""
self.app = app
+ if maxstore == ():
+ maxstore = float("inf")
self.maxstore = maxstore
def __call__(self, environ, start_response):
"""wsgi interface"""