Reviewed: https://review.openstack.org/184659
Committed:
https://git.openstack.org/cgit/openstack/python-swiftclient/commit/?id=7d5c85ad1013185bd3aa7f0d384f2e0e68e3b484
Submitter: Jenkins
Branch:master
commit 7d5c85ad1013185bd3aa7f0d384f2e0e68e3b484
Author: Tim Burke tim.bu...@gmail.com
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: I6cc30a5c12e37de06d7322533a3c36ad15397cc8
Closes-Bug: 1338464
Related-Bug: 1282861
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1282861
Title:
crash on content-encoding:gzip http responses
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-swiftclient/+bug/1282861/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs