This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author demian.brecht
Recipients demian.brecht, orsenthil, r.david.murray
Date 2015-05-13.16:04:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431533065.95.0.88567271375.issue24177@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-05-13 16:04:26demian.brechtsetrecipients: + demian.brecht, orsenthil, r.david.murray
2015-05-13 16:04:25demian.brechtsetmessageid: <1431533065.95.0.88567271375.issue24177@psf.upfronthosting.co.za>
2015-05-13 16:04:25demian.brechtlinkissue24177 messages
2015-05-13 16:04:25demian.brechtcreate