get https page

ben santoshamb at
Mon Sep 6 03:30:00 CEST 2004

Heres what I did to get it to work.

Activestate python 2.3.2 does not come with the ability to connect
over a secure layer, so you have to download the file at this address:

after you install his code, the following will work:

import httplib

conn = httplib.HTTPSConnection(HOSTNAME,443)
conn.putrequest('GET', '/teamwork/logon/')
response = conn.getresponse()

(I was trying to write a login script for


santoshamb at (ben) wrote in message news:<56d498d9.0409030934.43a1952e at>...
> "Jonathan  Ellis" <jbellis at> wrote in message news:<ch8qgq$k17 at>...
> > >>> import urllib
> > >>> r =
>  urllib.urlopen("")
> > >>>
> > 
> > -Jonathan
> Thanks for the answer Jonathan.  The solution I found was a bit
> different. I'm going to post it when I get home, for future reference.
> Ben

More information about the Python-list mailing list