I would like to connect to a site via HTTPS in Python 3.2.
I tried
conn = http.client.HTTPSConnection(urlStr, 8443) conn.putrequest(\'GET\',
instead of putrequest, you can use request
putrequest
request
conn.request('GET', '/') resp = conn.getresponse() print(resp.read())