xmlrpc client on windows + https: error

Alan Kennedy alanmk at hotmail.com
Mon Jun 9 17:17:49 CEST 2003


Ruslan Spivak wrote:

> I've installed Python-2.2.2 on WinXP and trying to make xmlrp request
> with https

> Your version of httplib doesn't support HTTPS
> Can you tell me what to do? How to make it work on windows, cause on my
> linux box it's ok with python2.2.2.

You could upgrade to python 2.3.

2.2 does not come with inbuilt SSL support, whereas 2.3 does.

Try the following piece of code on 2.2 and 2.3, and you'll see what I mean.

import socket

if hasattr(socket, "ssl"):
    print "Yep, secure sockets supported"
else:
    print "Nope, secure sockets not supported"

HTH,

-- 
alan kennedy
-----------------------------------------------------
check http headers here: http://xhaus.com/headers
email alan:              http://xhaus.com/mailto/alan




More information about the Python-list mailing list