Add status code to redirects
Merge pull request #1 from resolve/choose_redirect_type

Add status code to redirects