Senthil Kumaran added the comment:

Antoine - I approached it from idea that check_hostname "as a setting" is 
allowed from HTTPSConnection (http/client.py) but it not controllable from 
urllib. Is there a case where it is useful in HTTPSConnection, but it should 
not be from urllib?

- Thanks for the changes. One comment on the  changeset 4ed8a8e781c3 

+        https_handler = HTTPSHandler(context=context, check_hostname=True)

check_hostname=True is redundant here. You could send the context and by 
default it checks the hostname.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17483>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to