[issue26864] urllib.request no_proxy check differs from curl

2016-04-26 Thread Daniel Morrison
Daniel Morrison added the comment: I believe there was a misunderstanding. While the environment variable name is handled in a case insensitive way, the contents of the environment variable is not. Please see some examples below: >>> os.environ['no_proxy&#x

[issue26864] urllib.request no_proxy check differs from curl

2016-04-26 Thread Daniel Morrison
New submission from Daniel Morrison: 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