Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP Status Code 301 #6

Open
freeman-g opened this issue Mar 10, 2016 · 0 comments
Open

HTTP Status Code 301 #6

freeman-g opened this issue Mar 10, 2016 · 0 comments

Comments

@freeman-g
Copy link

@adamar I followed your great example, thanks it was a big help.

FYI - I noticed one issue with using HTTP Status Code 301. In certain cases my browser would no longer hit the originally requested URL, I assume due to the code 301, "Moved Permanently".

So I started using 302 instead, like this:

http.Redirect(w, req, "/login", 302)

Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant