aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/middleware.py
diff options
context:
space:
mode:
authorbkonkle2011-09-12 12:31:25 -0500
committerbkonkle2011-09-12 12:31:25 -0500
commit5b4553713775a35634594a65502e5ca8ba58dae9 (patch)
treed02c08f53a7752d2935d0ac01d3efbefce6d1819 /debug_toolbar/middleware.py
parent2519b2cc5cda4b462de108cac1d9dd2fae2e9dd4 (diff)
downloaddjango-debug-toolbar-5b4553713775a35634594a65502e5ca8ba58dae9.tar.bz2
Updated the template panel, and corrected an issue in the headers panel
Diffstat (limited to 'debug_toolbar/middleware.py')
-rw-r--r--debug_toolbar/middleware.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/middleware.py b/debug_toolbar/middleware.py
index b014f33..03b2804 100644
--- a/debug_toolbar/middleware.py
+++ b/debug_toolbar/middleware.py
@@ -123,7 +123,7 @@ class DebugToolbarMiddleware(object):
)
response.cookies = cookies
if 'gzip' not in response.get('Content-Encoding', '') and \
- response.get('Content-Type', '').split(';')[0] in _HTML_TYPES:
+ response.get('Content-Type', '').split(';')[0] in _HTML_TYPES:
toolbar.stats = {}
for panel in toolbar.panels:
panel.process_response(request, response)