A proper solution would be returning a `Response` and do the redirection within the `Response` (302?)