commit 7d5c85ad1013185bd3aa7f0d384f2e0e68e3b484
Author: Tim Burke <email address hidden>
Date: Wed May 20 16:07:04 2015 -0700
Stop decoding object content
Previously, we had urllib3 (via requests) automatically decode all
responses with a Content-Encoding of deflate or gzip. This included
object downloads, which would in turn cause etag or content-length
mismatch errors. (See bug 1338464)
This was apparently added in response to a third-party proxy sitting
between the client and server which, having observed that the client
would accept gzip-encoded content while the server sent an unencoded
response, would perform the compression. (See bug 1282861)
Now, we'll no longer let requests send any default headers, nor do any
decoding.
Reviewed: https:/ /review. openstack. org/184659 /git.openstack. org/cgit/ openstack/ python- swiftclient/ commit/ ?id=7d5c85ad101 3185bd3aa7f0d38 4f2e0e68e3b484
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7d5c85ad1013185 bd3aa7f0d384f2e 0e68e3b484
Author: Tim Burke <email address hidden>
Date: Wed May 20 16:07:04 2015 -0700
Stop decoding object content
Previously, we had urllib3 (via requests) automatically decode all
responses with a Content-Encoding of deflate or gzip. This included
object downloads, which would in turn cause etag or content-length
mismatch errors. (See bug 1338464)
This was apparently added in response to a third-party proxy sitting
between the client and server which, having observed that the client
would accept gzip-encoded content while the server sent an unencoded
response, would perform the compression. (See bug 1282861)
Now, we'll no longer let requests send any default headers, nor do any
decoding.
Change-Id: I6cc30a5c12e37d e06d7322533a3c3 6ad15397cc8
Closes-Bug: 1338464
Related-Bug: 1282861