[z3-checkins] r33438 - z3/deliverance/branches/packaged/deliverance
ianb at codespeak.net
ianb at codespeak.net
Thu Oct 19 03:11:11 CEST 2006
Author: ianb
Date: Thu Oct 19 03:11:00 2006
New Revision: 33438
Modified:
z3/deliverance/branches/packaged/deliverance/wsgifilter.py
Log:
Make sure the response won't be encoded, by removing the Accept-Encoding header. Technically we could de-gzip the response, but it's just busy work in this case
Modified: z3/deliverance/branches/packaged/deliverance/wsgifilter.py
==============================================================================
--- z3/deliverance/branches/packaged/deliverance/wsgifilter.py (original)
+++ z3/deliverance/branches/packaged/deliverance/wsgifilter.py Thu Oct 19 03:11:00 2006
@@ -81,6 +81,8 @@
notheme = 'notheme' in qs
if notheme:
return self.app(environ, start_response)
+ if 'HTTP_ACCEPT_ENCODING' in environ:
+ del environ['HTTP_ACCEPT_ENCODING']
status, headers, body = intercept_output(
environ, self.app,
More information about the z3-checkins
mailing list