[issue9637] docs do not say that urllib uses HTTP_PROXY
New submission from Kirikaza
Terry J. Reedy
Kirikaza
Are you talking about ... I have read no line of code from urllib module. I just try to use urllib.urlopen() and I see it uses not only http_proxy but also HTTP_PROXY and urlopen() prefers the latter variable.
a specific change in a specific place
Let's consider a two-lines sample proxy.py: import urllib urllib.urlopen('http://python.org/ftp/').readlines() Some tests: $ http_proxy= HTTP_PROXY= proxy.py ['
does urllib2.urlopen ... (in 3.x) I don't have Python 3.x so I can't say anything.
----------
_______________________________________
Python tracker
Kirikaza
Changes by Neil Muller
Neil Muller
Neil Muller
Terry J. Reedy
Senthil Kumaran
Roundup Robot
Roundup Robot
Senthil Kumaran
participants (5)
-
Kirikaza
-
Neil Muller
-
Roundup Robot
-
Senthil Kumaran
-
Terry J. Reedy