Blog Archive for August 25, 2010

HTTPS Login with Cookies

August 25, 2010

I was trying to write a python script which would login to a remote web page, and then request some data. The login was a standard HTML form, so I had to POST to a url with the appropriate form fields.

Using python httplib, everytime I did the POST for …