migscabral / gdatacopier

Automatically exported from code.google.com/p/gdatacopier
0 stars 0 forks source link

Unable to download files using hoted Google account behind proxy #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hosted Google accounts don't download documents properly. This is primarily
because of the use of HTTPS requests are being used throughout.

The problem is prevalent only behind proxies.

Original issue reported on code.google.com by devraj on 31 Oct 2007 at 3:23

GoogleCodeExporter commented 9 years ago
The prepared urls parsing was failing and resulting strings instead of a number.
Patched line 143 of gdatacopier with

extra_string = "CONNECT %s:%s HTTP/1.0\r\n" % (self._real_host, self._real_port)

Original comment by devraj on 31 Oct 2007 at 3:42