stretchr/goweb

RespondWith Redirect should be a 302 status code

Closed this issue · 1 comments

We should also add convenience methods for the various other forms of redirect

NOTE: The fix makes these possible:

WithRedirect // uses http.StatusTemporaryRedirect - 302
WithTemporaryRedirect // uses http.StatusTemporaryRedirect - 307
WithPermanentRedirect // uses http.StatusTemporaryRedirect - 301