I am sitting behind a company proxy. To start vagrant i had to use
set HTTP_proxy=http://http-proxy.example.org:9999
i tryed using netsh winhttp
but that didn't work. So now my command line uses the proxy, but now it also uses it for localhost
/ 127.0.0.1
.
Is there a way to bypass the proxy?
I already tryed setting no_proxy like this
set no_proxy=localhost;127.0.0.*
Best Answer
Also, by convention Windows/DOS environment variables should be all uppercase (although I would hope most tools would ignore case).
set NO_PROXY=localhost,127.0.0.*
From the Python 2 docs for urllib: