Excellent, Heikki - just what I needed.  Thanks!

(Thanks Bear, too!)
...Bryan

Heikki Toivonen wrote:

Bryan Stearns wrote:


Unfortunately, the "somewhere else" web server requires SSL (it's our
Bugzilla server). Twisted.web's getPage works fine for normal pages, but
throws from way down deep when the url starts with https: it can't
"import OpenSSL as SSL".



Right, PyOpenSSL (package name OpenSSL) is Twisted's default SSL engine. We hook M2Crypto into the picture by wrapping twisted transport in our own SSL-enabled M2Crypto.SSL.TwistedProtocolWrapper.

You are in luck: I previously made a proof-of-concept WebDAV client with
twisted using getPage and our wrapper :)

See http://wiki.osafoundation.org/bin/view/Journal/HeikkiToivonen20050311

--
 Heikki Toivonen



------------------------------------------------------------------------

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev


_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev

Reply via email to