summaryrefslogtreecommitdiff
path: root/paste/wsgilib.py
diff options
context:
space:
mode:
Diffstat (limited to 'paste/wsgilib.py')
-rw-r--r--paste/wsgilib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/wsgilib.py b/paste/wsgilib.py
index 70b1bc4..1637db3 100644
--- a/paste/wsgilib.py
+++ b/paste/wsgilib.py
@@ -399,7 +399,7 @@ def intercept_output(environ, application, conditional=None,
def dehtmlifying_middleware(application):
def replacement_app(environ, start_response):
- status, headers, body = capture_output(
+ status, headers, body = intercept_output(
environ, application,
lambda s, h: header_value(headers, 'content-type').startswith('text/html'),
start_response)