I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.
Ref #872.
It turns out both requests and httpx adds a default header with Accept-Encoding: gzip, deflate.
The Vespa container also replies with content-encoding: gzip
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.
Ref #872.
It turns out both
requests
andhttpx
adds a default header withAccept-Encoding: gzip, deflate
. The Vespa container also replies withcontent-encoding: gzip
The behavior can be verified with
They will also be decompressed automatically. See:
This PR adds integration tests to test for this.