[Bug 1282861] Related fix merged to python-swiftclient (master)

2016-08-31 Thread OpenStack Infra
Reviewed:  https://review.openstack.org/184956
Committed: 
https://git.openstack.org/cgit/openstack/python-swiftclient/commit/?id=f728027bed59d08a6491ae9c14d2f5968f8d6fa3
Submitter: Jenkins
Branch:master

commit f728027bed59d08a6491ae9c14d2f5968f8d6fa3
Author: Tim Burke 
Date:   Thu May 21 22:44:36 2015 -0700

Accept gzip-encoded API responses

Previously, we would accept gzip-encoded responses, but only because we
were letting requests decode *all* responses (even object data). This
restores the previous capability, but with tighter controls about which
requests will accept gzipped responses and where the decoding happens.

Change-Id: I4fd8b97207b9ab01b1bcf825cc16efd8ad46344a
Related-Bug: 1282861
Related-Bug: 1338464

-- 
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


[Bug 1282861] Related fix merged to python-swiftclient (master)

2015-05-29 Thread OpenStack Infra
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