Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98917
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Peter Otten <__peter__@web.de> |
| Newsgroups | comp.lang.python |
| Subject | Re: HTTPSConnection from http.client? |
| Date | Tue, 17 Nov 2015 12:22:50 +0100 |
| Organization | None |
| Lines | 31 |
| Message-ID | <mailman.382.1447759388.16136.python-list@python.org> (permalink) |
| References | <CABPy6+zYvqmOFy7aMNMH0DtUNaaJ3M3nR47QPhDPijsvN2jHbA@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="ISO-8859-1" |
| Content-Transfer-Encoding | 7Bit |
| X-Trace | news.uni-berlin.de gJ0fcpC0kpl3bWIKOYb5QAe2X0DgnDEwZgKMuHyEqs4Q== |
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'error:': 0.05; 'importerror:': 0.05; 'https': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.10; 'packages.': 0.15; 'http.client': 0.16; 'module?': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'received:t-ipconnect.de': 0.16; 'wrote:': 0.16; 'alex': 0.18; 'ssl': 0.18; 'second': 0.24; 'tried': 0.24; 'import': 0.24; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'separate': 0.27; 'url:client': 0.29; "i'm": 0.30; 'connections': 0.30; '[1]': 0.32; 'anybody': 0.32; 'url:python': 0.33; 'but': 0.36; 'url:org': 0.36; 'url:library': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'missing': 0.37; 'thank': 0.38; 'does': 0.39; 'subject:from': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'received:de': 0.40; 'hello,': 0.40; 'url:3': 0.60; 'day': 0.67; 'url:http': 0.75; 'package?': 0.84; 'subject:skip:H 10': 0.84; 'source?': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| X-Gmane-NNTP-Posting-Host | p57bd942b.dip0.t-ipconnect.de |
| User-Agent | KNode/4.13.3 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Xref | csiph.com comp.lang.python:98917 |
Show key headers only | View raw
Alex Naumov wrote: > 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 Did you compile Python from source? You may be missing the development packages. If you are using the Python provided by the distribution, perhaps support for SSL is in a separate package? Note that I'm guessing, I don't have openSUSE.
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: HTTPSConnection from http.client? Peter Otten <__peter__@web.de> - 2015-11-17 12:22 +0100 Re: HTTPSConnection from http.client? Marko Rauhamaa <marko@pacujo.net> - 2015-11-17 13:41 +0200
csiph-web