[issue17483] Can not tell urlopen not to check the hostname for https connections.

R. David Murray report at bugs.python.org
Mon Apr 1 14:25:39 CEST 2013


R. David Murray added the comment:

It may not make sense, but I've seen it supported in the wild, in a different library.  Of course, we *did* treat it as a bug in our code and fix it once we realized that's what the library was doing (we were inadvertently passing it None for the hostname, and its response to that was to not check it).  So I think Antoine is probably right here.  Especially since this has never been reported as a bug by someone trying to use it in an application.

Since it wasn't documented, perhaps we should just add a deprecation warning (that says it is a noop) instead.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17483>
_______________________________________


More information about the Python-bugs-list mailing list