title: Login to web page using twisted web
body: <p>I want to write a simple web client using twisted, that logs into a web site with a username and password, and grabs some data from a given page. What is the best way to do this?</p>
  
  <p>Edit: To add some more details: This is a simple username/password HTML form submission. There is a PHPSESSID cookie involved is this is a PHP site. No captchas. No HTTP authentication.</p>