This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Python 3.1's http.client doesn't support HTTPS
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.1
process
Status: closed Resolution: duplicate
Dependencies: Superseder: xmlrpc client does not support HTTPS
View: 6494
Assigned To: Nosy List: Jelly.Chen, flox
Priority: low Keywords:

Created on 2010-02-22 16:03 by Jelly.Chen, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg99765 - (view) Author: Jelly Chen (Jelly.Chen) Date: 2010-02-22 16:03
posturl='https://storage.msn.com/storageservice/MetaWeblog.rpc'
username="sinojellycn"
password="123456"

blog = pyblog.WordPress(posturl, username, password)
content = {"description":'Test description6', "title":'Test article6'}
blog.new_post(content, blogid = "1") 

Traceback (most recent call last):
  File "<string>", line 248, in run_nodebug
  File "D:\Users\Documents\My Knowledge\Plugins\{A0D025CD-970A-4C62-97E4-5CF6F2C9DD6A}\BlogPost.py", line 385, in <module>
    blog = pyblog.WordPress(posturl, username, password)
  File "D:\Users\Documents\My Knowledge\Plugins\{A0D025CD-970A-4C62-97E4-5CF6F2C9DD6A}\pyblog.py", line 266, in __init__
    MetaWeblog.__init__(self, serverapi, username, password, encoding)
  File "D:\Users\Documents\My Knowledge\Plugins\{A0D025CD-970A-4C62-97E4-5CF6F2C9DD6A}\pyblog.py", line 167, in __init__
    Blog.__init__(self, serverapi, username, password, encoding, appkey)
  File "D:\Users\Documents\My Knowledge\Plugins\{A0D025CD-970A-4C62-97E4-5CF6F2C9DD6A}\pyblog.py", line 63, in __init__
    self.list_methods2()
  File "D:\Users\Documents\My Knowledge\Plugins\{A0D025CD-970A-4C62-97E4-5CF6F2C9DD6A}\pyblog.py", line 87, in list_methods2
    self.methods = self.server.system.listMethods()
  File "C:\Python31\Lib\xmlrpc\client.py", line 1039, in __call__
    return self.__send(self.__name, args)
  File "C:\Python31\Lib\xmlrpc\client.py", line 1281, in __request
    verbose=self.__verbose
  File "C:\Python31\Lib\xmlrpc\client.py", line 1068, in request
    http_conn = self.send_request(host, handler, request_body, verbose)
  File "C:\Python31\Lib\xmlrpc\client.py", line 1193, in send_request
    "your version of http.client doesn't support HTTPS")
NotImplementedError: your version of http.client doesn't support HTTPS
>>>
msg99769 - (view) Author: Florent Xicluna (flox) * (Python committer) Date: 2010-02-22 16:10
Duplicate of #6494: "This is not a bug in Python. You need to build Python with SSL support for this to work."
History
Date User Action Args
2022-04-11 14:56:57adminsetgithub: 52235
2010-02-22 16:10:02floxsetstatus: open -> closed
priority: low
superseder: xmlrpc client does not support HTTPS


nosy: + flox
messages: + msg99769
resolution: duplicate
2010-02-22 16:03:35Jelly.Chencreate