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

[Feature Request]Making it possible to redirect with 307 and 308 status #11625

Open
abcfy2 opened this issue Sep 28, 2020 · 0 comments · May be fixed by #14092
Open

[Feature Request]Making it possible to redirect with 307 and 308 status #11625

abcfy2 opened this issue Sep 28, 2020 · 0 comments · May be fixed by #14092
Labels
type: enhancement New feature or request

Comments

@abcfy2
Copy link
Contributor

abcfy2 commented Sep 28, 2020

In some cases, I want to backward compatibility with old API. So I should use redirect to redirect old URL to the new one.

And I think the http code 307 and 308 would be better.

But grails redirect is only support 301 and 302 for now: https://docs.grails.org/latest/ref/Controllers/redirect.html

So I think it's better to make possible to redirect with 307 and 308.

@jeffscottbrown jeffscottbrown added the type: enhancement New feature or request label Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants