Author Daniel Morrison
Recipients Daniel Morrison
Date 2016-04-26.14:43:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461681827.76.0.743158989172.issue26864@psf.upfronthosting.co.za>
In-reply-to
Content
The no_proxy environment variable works in python as a case
sensitive suffix check.

Curl handles this variable as a case insensitive hostname check.

Case sensitivity appears to be in conflict with the DNS Case
Insensitivity RFC (https://tools.ietf.org/html/rfc4343).

While the suffix check is documented
(https://docs.python.org/3/library/urllib.request.html), this
seems to be problematic and inconsistent with other tools on the
system.

I believe the ideal solution would be to have proxy_bypass be a
method of ProxyHandler so that it can be overridden without
dependence on undocumented methods. This would also allow
for the requested behavior to be added without breaking backwards
compatibility.
History
Date User Action Args
2016-04-26 14:43:47Daniel Morrisonsetrecipients: + Daniel Morrison
2016-04-26 14:43:47Daniel Morrisonsetmessageid: <1461681827.76.0.743158989172.issue26864@psf.upfronthosting.co.za>
2016-04-26 14:43:47Daniel Morrisonlinkissue26864 messages
2016-04-26 14:43:47Daniel Morrisoncreate