summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: