Lines Matching refs:gzip
142 import gzip
144 gzip = None #python can be built without zlib/gzip support variable
1046 if not gzip:
1049 with gzip.GzipFile(mode="wb", fileobj=f, compresslevel=1) as gzf:
1070 if not gzip:
1072 with gzip.GzipFile(mode="rb", fileobj=BytesIO(data)) as gzf:
1091 class GzipDecodedResponse(gzip.GzipFile if gzip else object):
1098 if not gzip:
1101 gzip.GzipFile.__init__(self, mode="rb", fileobj=self.io)
1105 gzip.GzipFile.close(self)
1283 if self.accept_gzip_encoding and gzip:
1316 gzip):