An interpreted, interactive, object-oriented programming language
CentOS Sources
2017-08-01 71084d584ff953f5463757ec6536406320560b4d
commit | author | age
6e8c2f 1 diff -up Python-2.7.5/Lib/urllib2.py.orig Python-2.7.5/Lib/urllib2.py
CB 2 --- Python-2.7.5/Lib/urllib2.py.orig    2013-07-17 12:22:58.595525622 +0200
3 +++ Python-2.7.5/Lib/urllib2.py    2013-07-17 12:19:59.875898030 +0200
4 @@ -728,6 +728,8 @@ class ProxyHandler(BaseHandler):
5          if proxy_type is None:
6              proxy_type = orig_type
7  
8 +        req.get_host()
9 +
10          if req.host and proxy_bypass(req.host):
11              return None
12