HTTPSConnection from http.client?

Alex Naumov alexander_naumov at opensuse.org
Tue Nov 17 05:44:42 EST 2015


Hello,

does anybody know how to create a HTTPS connections in python2 or python3?
I tried second day to do that with http.client[1], but every time get error:

from http.client import HTTPSConnection
ImportError: cannot import name HTTPSConnection


Where is HTTPSConnection located? Which module?

I use openSUSE 13.1 x86_64.

Thank you,
Alex


[1] https://docs.python.org/3/library/http.client.html



More information about the Python-list mailing list