Does Python 2.0b1 support https on Windows?
Andrew Markebo
andrew.markebo at telelogic.com
Sun Oct 1 16:27:30 EDT 2000
There are always the possibility to use internet explorers
https-functionality through win32com, check the article 're: 2000: A
Win32 oddisey' by Michal Wallace.
I have managed to get together the socketlib.pyd for ssl, what I did
was compiled OpenSSL for windows, compiled the socketlib with the
flage USE_SSL, where it barfs on some error like 'Non-constant used'
move the &PyObjectType assignment into the init-function, as done in
some other modules that does dynamic loading on win32.
Get in touch if you want more info.
/Andy
/ Martin von Loewis <loewis at informatik.hu-berlin.de> wrote:
| jegerton at my-deja.com writes:
|
| > I didn't see anything about SSL support in the httplib documentation -
| > could you please explain how to use it? If I was connecting using:
| >
| > h = httplib.HTTP('www.myserver.com')
| >
| > what would I change this to for https?
|
| Instead of httplib.HTTP, you write httplib.HTTPS. If you need to pass
| X.509 secrets to SSL, you should use httplib.HTTPSConnection instead.
|
| There is a bug report that documentation for SSL support is missing
| (not only in httplib, but also in the socket module). Unless somebody
| writes something really quick, that bug won't be fixed for 2.0.
|
| Regards,
| Martin
More information about the Python-list
mailing list