Author xiang.zhang
Recipients Daniel Morrison, docs@python, martin.panter, xiang.zhang
Date 2016-04-26.15:41:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461685270.52.0.37127486693.issue26864@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-04-26 15:41:10xiang.zhangsetrecipients: + xiang.zhang, docs@python, martin.panter, Daniel Morrison
2016-04-26 15:41:10xiang.zhangsetmessageid: <1461685270.52.0.37127486693.issue26864@psf.upfronthosting.co.za>
2016-04-26 15:41:10xiang.zhanglinkissue26864 messages
2016-04-26 15:41:10xiang.zhangcreate