[Python-modules-team] Bug#833254: [python3-aiohttp] Fails to decompress HTTP bodies

Sven Eckelmann sven.eckelmann at open-mesh.com
Tue Aug 2 08:10:35 UTC 2016


Package: python3-aiohttp
Version: 0.22.4-1
Severity: normal

It looks like this version isn't able to parse the HTTP response headers
correctly to detect the Content-Encoding for gzip compressed bodies. This
causes problems like:

    'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte

when the caller tries to decode the (still gzip compressed) body as utf-8.
This problem was introduced by v0.21.5-104-g7374777 [1] and is fixed in
v0.22.4-54-g8145024 [2]

Kind regards,
	Sven

[1] https://github.com/KeepSafe/aiohttp/commit/73747771135bc50b67b13a9a9257f0eafb6d370a
[2] https://github.com/KeepSafe/aiohttp/commit/81450244d05ec04884cdafc74fc927514eb5302a


--- System information. ---
Architecture: amd64
Kernel:       Linux 4.6.0-1-amd64

Debian Release: stretch/sid
  500 unstable        httpredir.debian.org 
  500 testing         httpredir.debian.org 
  500 stable          dl.google.com 
    1 unstable        www.deb-multimedia.org 
    1 experimental    httpredir.debian.org 

--- Package information. ---
Depends                (Version) | Installed
================================-+-===========
python3                 (<< 3.6) | 3.5.1-4
python3                (>= 3.5~) | 3.5.1-4
python3-chardet                  | 2.3.0-2
python3-multidict                | 2.0.0-1
python3:any            (>= 3.4~) | 
libc6                   (>= 2.4) | 


Package's Recommends field is empty.

Package's Suggests field is empty.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20160802/dc5b9fc1/attachment-0001.sig>


More information about the Python-modules-team mailing list