-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Set proper status code in AdminRenderer for the redirection after POST/DELETE requests. #4106
Set proper status code in AdminRenderer for the redirection after POST/DELETE requests. #4106
Conversation
…T/DELETE requests.
Seems legit. Will need to properly test to ensure it fixes the original issue. |
Should I add a test case for it? |
I don't think it's necessary. The tests I was referring to are the one with "real" browsers just to make sure it works(tm) since 303 vs 302 difference is browser specific. |
I think this thread could do with being a little more specific. |
@tomchristie Everything is explained in the definition of the 303 code. However, I think there should be a location header which I'm not sure is part of the response. |
Fair enough, although still worth confirming if there are any behavioral changes. |
I'm happy with this change, once someone's confirmed if it makes any behavioral difference to the browser (ie. actually try it out and report on before and after) - if they're the same then great, let's have this as a valid semantic change. If there's differences in the behavior before and after then we can review those on their merits. |
I think that'd be a valid improvement on DELETE, sure. |
refs #4032