gcs/object.py
def _decompress_on_download(self, request):
        """Returns True if a request requires decompressive transcoding."""
        if self.metadata.content_encoding != "gzip":
            return False
        # If `gzip` appears in the `Accept-Encoding` header then we disable
        # decompressive transcoding
        return not ("gzip" in request.headers.get("accept-encoding", ""))
Returns True if a request requires decompressive transcoding.
Returns True if a request requires decompressive transcoding.
Returns True if a request requires decompressive transcoding .
def _decompress_on_download(self, request):
        if self.metadata.content_encoding != "gzip":
            return False
        return not ("gzip" in request.headers.get("accept-encoding", ""))
def _decompress_on_download ( self , request ) : if self . metadata . content_encoding != "gzip" : return False return not ( "gzip" in request . headers . get ( "accept-encoding" , "" ) )
Returns True if a request requires decompressive transcoding.
Returns True if a request requires decompressive transcoding .
"""Returns True if a request requires decompressive transcoding.""" # If `gzip` appears in the `Accept-Encoding` header then we disable # decompressive transcoding
self
request