Control: forwarded -1 [email protected]

Hello,

On Mon, 17 Dec 2012, Carlos Maddela wrote:
> Dear Maintainer,
> 
> When https_proxy is set, the download of the Dropbox daemon fails
> with a KeyError exception, as the returned headers do not contain a
> 'Content-Length'.  I have attached the output log.

Did you file this bug against python too? Because if urllib strips the
field when urllib2 doesn't, it's a clear bug of urllib.

Are you sure it's not a misconfiguration or misfeature of your https proxy
that would drop the field? (And maybe urllib2 creating it if it's missing?).

The dropbox servers do return the Content-Length header.

> I had a go at patching the python script to fix this.  It seems that
> using urllib2.urlopen() instead of urllib.urlopen() is a little more
> promising, but I also had to disable non-blocking I/O.  It works alright
> for me though.  I have attached this patch, along with some others to
> get rid of compilation warnings.

That's a lot of changes for this bugfix... I'm ccing the upstream
authors at Dropbox. They might be interested to merge your changes. But
for now I won't take them in the current Debian package.

David and Rian, you can download the patches at
http://bugs.debian.org/696122 (I'll also bounce you Carlos original mail).

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Get the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/


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

Reply via email to