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
Redirect doesn't expose original status code #3581
Comments
Could use the dont_redirect request meta, |
You could also extend and replace the default redirect middleware so it adds this functionality for you. |
@VMRuiz - I considered it, but that's a huge amount of work from my perspective, and the extant RedirectMiddleware is very poorly documented so it'd be even more work just to grok what's going on (2 comment lines in a 102 line file). |
This feature makes sense to me. Probably it should be a separate list ( |
I'll work on this |
I think it is safe to close this issue, solved in #3687 |
I'm being redirected with a 307 - the log says so. I'd like to handle this differently to a 302. However the redirect middleware doesn't seem to keep the original status code as far as I can see, not even in meta. It would be nice if there was a list of redirect status codes to go with the list of redirect_urls.
The text was updated successfully, but these errors were encountered: