summaryrefslogtreecommitdiffstats
path: root/files/loopabull/serializer.py
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2017-05-22 02:45:40 +0000
committerPatrick Uiterwijk <puiterwijk@redhat.com>2017-05-23 12:45:22 +0000
commitf4f0d9338e73da7c5f562d9a187d7c4fe3462f7b (patch)
treebe77845888e99dad0d7533d8902bd835c294b5a6 /files/loopabull/serializer.py
parentfedf0525b060bbba4c53512b9770e53e677cd633 (diff)
downloadansible-f4f0d9338e73da7c5f562d9a187d7c4fe3462f7b.tar.gz
ansible-f4f0d9338e73da7c5f562d9a187d7c4fe3462f7b.tar.xz
ansible-f4f0d9338e73da7c5f562d9a187d7c4fe3462f7b.zip
Unset Accept-Encoding for kojipkgs
python-requests sets this to "gzip, deflate", and when it tries to download an aarch64 vmlinuz, it gets (correctly) reported as Encoding: gzip. This triggers automatic gzip decompression by urllib3, resulting in the following error: Expected to download 6529431 bytes, downloaded 15618560 Unsetting Accept-Encoding request header tells mod_deflate it should not send the Encoding: gzip header, avoiding the auto-decompression by urllib3. Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'files/loopabull/serializer.py')
0 files changed, 0 insertions, 0 deletions