Unable to connect to internet URL behind firewall

Sven svenito at gmail.com
Thu Mar 7 10:31:30 CET 2013


On 6 March 2013 16:28, <priyanka.khamankar at gmail.com> wrote:

> Hi,
>
> I am using below two approaches to connect to read the content of internet
> url.
> These two approaches work for me when the internet explorer session is
> open.
>
> When the internet explorer window is closed, below code gives me 407 error.
> I have also set the HTTP_PROXY environment variables as
> http://proxy-example.com:3128
>

>From experience the environment variable name is in lowercase. Try
http_proxy instead.

Don't ask me why this environment variable is lowercase when most others
aren't.

-- 
./Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130307/217808a4/attachment.html>


More information about the Python-list mailing list