HTTPSConnection with proxy

Stuart D. Gathman stuart at bmsi.com
Fri Nov 15 01:43:42 EST 2002


I cannot figure out how to use a proxy with HTTPSConnection

I cannot use urllib because:

a) the proxy support in urllib doesn't seem to work for https: 
b) I need to post data with Content-Type: application/EDIStream,
	and urllib hardwires application/x-www-form-urlencoded

Does anyone know the basic protocol for https?  The proxy server logs it
as a "CONNECT" request - which makes sense because the client will be
doing the encoding.  How would one simulate a CONNECT request via telnet?
 I can translate that to python code.

-- 
	      Stuart D. Gathman <stuart at bmsi.com>
Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.



More information about the Python-list mailing list