reopen 354743 =
thanks

Hi,

now packages.debian.org is back again and reacts with gzip-compressed
HTTP answers when asked for them.

Now the answer to the url that reportbug uses
(http://packages.debian.org/<package>) is a gzip-compressed 302. So the
HTTPRedirectHandler jumps in and fetches the given url (which points to
the cgi-perl-script doing the actual search). This handle however
doesn't ask packages.d.o for a compressed response and thus the response
is plain text. But reportbug still thinks its compressed and thus tries
to decompress the plain text message which of course fails with an
IOError.

There are 2 solutions to this:

1. The easiest: Turn off the Accept-Encoding line in urlutils.py:urlopen

2. find out why reportbug doesn't get that the real response is not
gzipped anymore and fix it.

I had a quick look for 2 but I couldn't find anything besides that the
error happens when the page returned is read().

Andreas

-- 
Another good night not to sleep in a eucalyptus tree.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to