Support 307 temp redir status code

Fixes #452