title: python mechanize - cannot submit login form
body: <p>I am using mechanize (<a href="http://wwwsearch.sourceforge.net/mechanize/" rel="nofollow noreferrer">http://wwwsearch.sourceforge.net/mechanize/</a>) to login to www.coinotron.com, but the execution hangs when I do <code>br.submit()</code></p>
  
  <pre><code>import mechanize  
  ...  
  br = mechanize.Browser()
  br.open("https://coinotron.com/app?action=logon")
  form = br.select_form(nr=0)
  br.form["name"] = "myusername"
  br.form["password"] = "mypassword"
  reponse = br.submit() # HERE THE EXECUTION HANGS!
  </code></pre>
  
  <p>If I comment the password line then the scripts executes ok, but of course it does not login.</p>