Ruluk <juank_n...@hotmail.com> added the comment:

I would still validate the error somewhere, maybe before reaching the OpenSSL 
library, because that same error is also shown for other cases. E.g:

http_connection = HTTPSConnection("localhost")
http_connection.request("POST", my_url, my_body, my_headers)

The use of an HTTPS connection for localhost effectively produces the same 
"SSL: WRONG VERSION NUMBER" error.

----------
nosy: +ruluk

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

Reply via email to