Hi,
Is it possible to access a https site using a certificate and keeping the session alive like it happens in the browsers? I'm doing a console app that needs to access a server by https to retrieve information but using the httplib, each time i make a request it asks for the cert pass phrase.
I tried setting 'connection: keep-alive' but with no avail.
Enter PEM pass phrase:
send: 'GET /cgi/server/server.py?Action=getDataX HTTP/1.1\r\nHost: 127.0.0.1:443\r\nAccept-Encoding: identity\r\nConnection: Keep-Alive\r\nKeep-Alive: 300\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Date: Sat, 21 Jun 2008 23:24:25 GMT
header: Server: Apache/2.2.3
header: Connection: close
header: Transfer-Encoding: chunked
header: Content-Type: text/html; charset=UTF-8
Any help is really appreciated ...