[z3-checkins] r40854 - z3/deliverance/trunk/deliverance
ianb at codespeak.net
ianb at codespeak.net
Tue Mar 20 18:51:30 CET 2007
Author: ianb
Date: Tue Mar 20 18:51:29 2007
New Revision: 40854
Modified:
z3/deliverance/trunk/deliverance/wsgimiddleware.py
Log:
When there's no content-type we *shouldn't* intercept; right now it *is* intercepting
Modified: z3/deliverance/trunk/deliverance/wsgimiddleware.py
==============================================================================
--- z3/deliverance/trunk/deliverance/wsgimiddleware.py (original)
+++ z3/deliverance/trunk/deliverance/wsgimiddleware.py Tue Mar 20 18:51:29 2007
@@ -200,7 +200,7 @@
"""
type = header_value(headers, 'content-type')
if type is None:
- return True # yerg, 304s can have no content-type
+ return False # yerg, 304s can have no content-type
return type.startswith('text/html') or type.startswith('application/xhtml+xml')
def filter_body(self, environ, body):
More information about the z3-checkins
mailing list