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


Groups > comp.lang.python > #98916

HTTPSConnection from http.client?

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Alex Naumov <alexander_naumov@opensuse.org>
Newsgroups comp.lang.python
Subject HTTPSConnection from http.client?
Date Tue, 17 Nov 2015 11:44:42 +0100
Lines 18
Sender posix.ru@gmail.com
Message-ID <mailman.381.1447757090.16136.python-list@python.org> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de N/pSFO418otfU+a60pF5Qgz9uZkKCHZ8qWbzmKeA9ykA==
Return-Path <posix.ru@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.030
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'error:': 0.05; 'importerror:': 0.05; 'https': 0.09; 'http.client': 0.16; 'module?': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'sender:addr:gmail.com': 0.18; 'alex': 0.18; 'second': 0.24; 'tried': 0.24; 'import': 0.24; 'message-id:@mail.gmail.com': 0.27; 'url:client': 0.29; 'connections': 0.30; '[1]': 0.32; 'anybody': 0.32; 'url:python': 0.33; 'received:google.com': 0.35; 'but': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'url:library': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'received:209': 0.38; 'thank': 0.38; 'does': 0.39; 'subject:from': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'hello,': 0.40; 'url:3': 0.60; 'day': 0.67; 'url:http': 0.75; 'subject:skip:H 10': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=Wylid8pQqzWxPm43CZXeMbUkwf13vIU1hm/k0MQQST8=; b=UluFtuvRDthXe2DHqjMZypE/VkVC+xRi7J3nAq4alJHWSUtjdXudSiPI/we+jySccW nYaLSSW1Psx1uU5pBe+92/XeC+JM3iZLu+oCA0G1XwYbCX2KIUaAf/zu9tpE/1dAJFma vqcTcqLHxmGaa151CeNkxwDQIV/X7BsgvQauzZV8M0A/rc6H9X6JMwJklD7quC0XY1Yg cZyby1mVaImZxbOAiO08c4gxZTwwjHSEEfjOQ926X4j6MODRUFoP/ig6vKB5UsSWPGOI l73A45K/2nBhVr44aIDjFzagUemJMPYN7DMIf4LyzGlGCcA0kSx1qNNPrgqdfGVF/u2O lPxw==
X-Received by 10.112.204.67 with SMTP id kw3mr19575387lbc.60.1447757082590; Tue, 17 Nov 2015 02:44:42 -0800 (PST)
X-Google-Sender-Auth HtwgKwieEaL9eJBl9UnqMRpK_v8
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:98916

Show key headers only | 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