The Computer Oracle

Windows7 command: set http_proxy and bypass

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Horror Game Menu Looping

--

Chapters
00:00 Windows7 Command: Set Http_proxy And Bypass
00:34 Accepted Answer Score 15
01:09 Thank you

--

Full question
https://superuser.com/questions/739623/w...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows7 #commandline #proxy #httpproxy

#avk47



ACCEPTED ANSWER

Score 15


  1. Specify multiple no_proxy hosts separated by commas, not semicolons.
  2. 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:

The no_proxy environment variable can be used to specify hosts which shouldn’t be reached via proxy; if set, it should be a comma-separated list of hostname suffixes, optionally with :port appended, for example cern.ch,ncsa.uiuc.edu,some.host:8080.