summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2008-03-29 02:26:32 +0100
committerHelmut Grohne <helmut@subdivi.de>2008-03-29 02:26:32 +0100
commitacc00d6595e238c7915ef31677ca64535d56ff13 (patch)
treec7f33cdc95f586b4f9585732ef65817eafac3d55
parentc7d175ab56f9fc7a020d39d7ec2f8f7f0c6ec216 (diff)
downloadwsgitools-acc00d6595e238c7915ef31677ca64535d56ff13.tar.gz
fix middleware start_reponse to accept only two parameters
-rw-r--r--wsgitools/middlewares.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsgitools/middlewares.py b/wsgitools/middlewares.py
index 12d360d..b725565 100644
--- a/wsgitools/middlewares.py
+++ b/wsgitools/middlewares.py
@@ -222,7 +222,7 @@ class CachingMiddleware:
else:
del self.cache[path]
cache_object = [time.time(), "", [], []]
- def modified_start_respesponse(status, headers, exc_info):
+ def modified_start_respesponse(status, headers, exc_info=None):
assert isinstance(status, str)
assert isinstance(headers, list)
if exc_info is not None: