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.

classification
Title: Support ALL_PROXY environment variable in urllib
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Oleh Khoma, SilentGhost, Windson Yang, orsenthil, ronaldoussoren
Priority: normal Keywords:

Created on 2019-01-31 13:35 by Oleh Khoma, last changed 2022-04-11 14:59 by admin.

Messages (4)
msg334627 - (view) Author: Oleh Khoma (Oleh Khoma) Date: 2019-01-31 13:35
Please, add support for ALL_PROXY environment variable to urllib. When this environment variable is found, add same proxy for HTTP, HTTPS and FTP.
msg334643 - (view) Author: Windson Yang (Windson Yang) * Date: 2019-02-01 01:51
This is not a bug, it would be better to submit your ideas to python-ideas mail-list
msg334653 - (view) Author: SilentGhost (SilentGhost) * (Python triager) Date: 2019-02-01 07:21
This sounds like an extension of existing functionality and fairly minor at that, that's why we have "enhancement" type of issue, not everything needs to be a bug.
msg334657 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2019-02-01 08:46
The all_proxy setting is used by other software as well, see for example the manpage for curl and this feature request for requests <https://github.com/requests/requests/issues/3183>.

Adding support for all_proxy to urllib sounds like a useful feature to me.
History
Date User Action Args
2022-04-11 14:59:10adminsetgithub: 80049
2019-02-01 08:46:38ronaldoussorensetnosy: + ronaldoussoren
messages: + msg334657
2019-02-01 07:21:31SilentGhostsetnosy: + SilentGhost
messages: + msg334653
2019-02-01 01:51:06Windson Yangsetnosy: + Windson Yang
messages: + msg334643
2019-01-31 14:30:52SilentGhostsetnosy: + orsenthil

versions: + Python 3.8
2019-01-31 13:35:57Oleh Khomasetcomponents: + Library (Lib), - Extension Modules
2019-01-31 13:35:34Oleh Khomacreate