dont log gzip data

This commit is contained in:
j 2014-10-31 15:58:05 +01:00
parent 38a0431fe0
commit 9304d14c5f

View file

@ -162,7 +162,6 @@ class Node(Thread):
self.online = False self.online = False
return None return None
data = r.read() data = r.read()
logger.debug('response data: %s', data)
if r.headers.get('content-encoding', None) == 'gzip': if r.headers.get('content-encoding', None) == 'gzip':
data = gzip.GzipFile(fileobj=BytesIO(data)).read() data = gzip.GzipFile(fileobj=BytesIO(data)).read()