Add header enabling gzip downloads by tartavull · Pull Request #3380 · googleapis/google-cloud-python

@googlebot added the cla: yes

This human has signed the Contributor License Agreement.

label

May 6, 2017

@tartavull

GET requests now contain the header accept-encoding:gzip
This improves performance of compressible strings which
were uploaded as gzips.

The caller is not required to do any decompression
because decompressiong is handle by the library.

Confusing `IOError: CRC check failed` exceptions will be
risen in the case of mid-download connection breaks.

Luke Sneeringer and others added 3 commits

August 8, 2017 10:46
The `_make_transport` method is now spelled `_get_transport`.

@googlebot googlebot added cla: no

This human has *not* signed the Contributor License Agreement.

and removed cla: yes

This human has signed the Contributor License Agreement.

labels

Oct 13, 2017

@tseaver

@tseaver tseaver changed the title A hack for enabling gzip downloads Add header enabling gzip downloads

Oct 13, 2017

parthea pushed a commit that referenced this pull request

Mar 9, 2026

@tseaver