Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #98916

HTTPSConnection from http.client?

From Alex Naumov <alexander_naumov@opensuse.org>
Newsgroups comp.lang.python
Subject HTTPSConnection from http.client?
Date 2015-11-17 11:44 +0100
Message-ID <mailman.381.1447757090.16136.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

HTTPSConnection from http.client? Alex Naumov <alexander_naumov@opensuse.org> - 2015-11-17 11:44 +0100

csiph-web