Message243101
http_proxy and https_proxy are common environment variables used cross platform. Currently, urllib.request has support for it, but http.client does not. It probably should.
If support is added to http.client, the handling of proxy environment variables in urllib.request should be factored out and made to be reliant on the changes in http.client (which shouldn't require any new code, only removal).
Given the common usage of the environment variables (as observed by other utilities such as wget and curl), it seems odd to require a user to know about and use the higher level urllib.request API rather than have support for it baked into the lower level http.client API. |
|
Date |
User |
Action |
Args |
2015-05-13 16:04:26 | demian.brecht | set | recipients:
+ demian.brecht, orsenthil, r.david.murray |
2015-05-13 16:04:25 | demian.brecht | set | messageid: <1431533065.95.0.88567271375.issue24177@psf.upfronthosting.co.za> |
2015-05-13 16:04:25 | demian.brecht | link | issue24177 messages |
2015-05-13 16:04:25 | demian.brecht | create | |
|