Change redirects to properly handle 3xx codes

Closes #470 

cc @beckje01