dealing with 301, make status code handling more defensive.
return False for unexpected cases
review comment
Merge pull request #10 from edx/e0d/handle-301s

E0d/handle 301s