Skip to content

Use "302 Found" HTTP code for redirect #900

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

Merged
merged 1 commit into from Mar 22, 2015
Merged

Use "302 Found" HTTP code for redirect #900

merged 1 commit into from Mar 22, 2015

Conversation

ghost
Copy link

@ghost ghost commented Mar 18, 2015

#728 introduced "301 Permanent Redirect" for Redirect result. But the way we use Redirect method requires "302 Found" aka Moved Temporarily. This PR restores the status code we used before.

@ghost ghost mentioned this pull request Mar 18, 2015
@brendensoares brendensoares added this to the v0.12 milestone Mar 22, 2015
@brendensoares brendensoares self-assigned this Mar 22, 2015
brendensoares added a commit that referenced this pull request Mar 22, 2015
Use "302 Found" HTTP code for redirect
@brendensoares brendensoares merged commit 2a5723d into revel:develop Mar 22, 2015
@ghost
Copy link
Author

ghost commented Dec 16, 2015

It should be replaced by http.StatusSeeOther (status code 303) [1]. #430 is related.

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

Successfully merging this pull request may close these issues.

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy