28 Jan
2003
28 Jan
'03
7:56 p.m.
Hi all, I realized that I was trying to use a certificate when I didn't need to, and that the reason I had been having problems when not using a certificate was that I was closing the connection before reading the data from it. This would return a blank page, rather than an error, so I assumed the problem was somewhere else. Like the following. conn = HTTPSConnection(host, port) conn.request("POST", "/index.html") r1 = conn.getresponse() conn.close() print r1.status, r1.reason "200 OK" print r1.read() "" Thanks, Alec Munro