This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eggsy
Recipients
Date 2004-01-08.00:20:41
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Using Python 2.3.3 on Win2K and Win98 the urllib module
does not seem to support proxies as described in the
documentation.

I have the http_proxy environment variable set and
urllib2.urlopen can successfully access the web via the
proxy.
Trying urllib.urlopen results in a
IOError: [Errno socket error] (7, 'getaddrinfo failed')
exception which suggests that it is not using the proxy.
This occurs both with an explicit proxy defined and
when using the environment variable.

See attached file for an example script.

I could not see any reference to proxies in the urllib
test script so I wonder whether this has been tested.

I have not (yet) tried to investigate why this does not
work.
History
Date User Action Args
2007-08-23 14:19:13adminlinkissue872736 messages
2007-08-23 14:19:13admincreate