Handle 301s 'properly'.
Cleanup the redirect if blocks.
Merge pull request #1754 from Lukasa/verb_change

Match the HTTPbis on HTTP 301.