I am using python to download file, however getting error while downloading file from google cloud storage.
File metadata is as follows: content_type : text/csv content_encoding: gzip file extension: *.csv.gz
Getting following exception: exceptions.ContentDecodingError: 'Received response with content-encoding: gzip, but failed to decode it.'
Using following python API to download file. blob.download_to_filename(filename, start=100)
Question: 1. How to download if source file has above metadata attributes? (gzip as content encoding) 2. How to uncompress file while copying (gsutil cp)?