[issue26864] urllib.request no_proxy check differs from curl
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
26 Apr
2016
26 Apr
'16
5:41 p.m.
Xiang Zhang added the comment: No, urllib.request does not handle the no_proxy environment in case-sensitive way. It first checks if any environment_variable.lower() ends with "_proxy", and then checks if there is any environment_variable ends with "_proxy". So it works as a case insensitive check, but the lowercase one will override others, e.g, no_proxy overrides no_PROXY. But the document is misleading, it should be clarified. ---------- assignee: -> docs@python components: +Documentation -Library (Lib) nosy: +docs@python, martin.panter, xiang.zhang _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue26864> _______________________________________
3050
Age (days ago)
3050
Last active (days ago)
0 comments
1 participants
participants (1)
-
Xiang Zhang