I\'m trying to test the functionality of a web app by scripting a login sequence in Python, but I\'m having some troubles.
Here\'s what I need to do:
I'd give Mechanize (http://wwwsearch.sourceforge.net/mechanize/) a shot. It may well handle your cookie/headers transparently.