Hello,
first, I'd like to say that this is a question, please add the question tag to this issue.
My question is: Is there a way to redirect silently?
What I mean by "redirect silently" is that I don't want the user that is requesting to know that there was a redirection:
- It shouldn't answer with a 3xx code, but with the code returned by the route it's been redirected to
- Any header should show the URL we've been redirected to
If you want to know more, this is for an API versioning use case (the user reaches /api/users and we created an interceptor that redirects to /api/v7/users depending on the api he passed as a header, we'll know which version he's using).
Hello,
first, I'd like to say that this is a question, please add the question tag to this issue.
My question is: Is there a way to redirect silently?
What I mean by "redirect silently" is that I don't want the user that is requesting to know that there was a redirection:
If you want to know more, this is for an API versioning use case (the user reaches
/api/usersand we created an interceptor that redirects to/api/v7/usersdepending on the api he passed as a header, we'll know which version he's using).