On 7/27/07, Till Maas <opensource(a)till.name> wrote:
On Thursday 26 July 2007 19:13:39 Hikaru Amano wrote:
> import urlgrabber
> import os
> os.environ['https_proxy'] = 'http://160.0.234.1:8080/'
> urlgrabber.urlgrab('https://161.0.2.218/pub/mirror/repos/fedora_i686/repoda
>ta/repomd.xml')
With another proxy and another https URL above works for me.
Does this work for you:
curl -x
http://160.0.234.1:8080/
https://161.0.2.218/pub/mirror/repos/fedora_i686/repodata/repomd.xml
Or this:
curl -p
http://160.0.234.1:8080/
https://161.0.2.218/pub/mirror/repos/fedora_i686/repodata/repomd.xml
I forgot to mention, all other applications (wget, curl, firefox,
elinks, etc) are able to connect and retrieve the file through the
proxy .. but not python-urlgrabber and yum ..
--
Mohd Izhar Firdaus Bin Ismail
Amano Hikaru
天野晃 「あまの ひかる」
http://fedoraproject.org/wiki/MohdIzharFirdaus
http://blog.kagesenshi.org
92C2 B295 B40B B3DC 6866 5011 5BD2 584A 8A5D 7331