removed debugging code

This commit is contained in:
Pablo Hoffman 2011-06-30 02:28:53 -03:00
parent 5275343fa1
commit a5223881ee
1 changed files with 0 additions and 2 deletions

View File

@ -17,8 +17,6 @@ class HttpCompressionMiddleware(object):
content_encoding = response.headers.getlist('Content-Encoding')
if content_encoding:
encoding = content_encoding.pop()
with open('body', 'w') as f:
f.write(response.body)
decoded_body = self._decode(response.body, encoding.lower())
respcls = responsetypes.from_args(headers=response.headers, \
url=response.url)