Comment 8 for bug 1282861

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to python-swiftclient (master)

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 <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: I6cc30a5c12e37de06d7322533a3c36ad15397cc8
    Closes-Bug: 1338464
    Related-Bug: 1282861