Test now respects 307 redirect to use same method
Added unit tests for the 307 redirect
Move method arg to avoid API breakage.
Merge branch 'resolve_redirect'

Fix #556