create a blank Rails application and put two files under public foler: file1.html and file2.html.
The contents of file is this
<h1>Post</h1>
<form action='/file2.html' class='openid' method='POST'>
<input name='openid_username' type='text' />
<input type='submit' value='Login' />
</form>
<h1>GET</h1>
<form action='/file2.html' class='openid' method='GET'>
<input name='openid_username' type='text' />
<input type='submit' value='Login' />
</form>
If I click on sumbit for the first form I get
No route matches "/file2.html" with {:method=>:post}):
When I do a get request it works fine. Why is that? I tried this with both webrick and mongrel and the behavior is same.