Incorrect redirection status code in token route
Steps to reproduce
Send an HTTP request to
https://music.leite.dev/api/v1/token (no trailing slash)
Server responds with 301, which should only be used for GET and HEAD requests. This causes clients to change the request verb to GET.
What is expected?
Server responds with 308, which signals to the client that it should use the same method (POST in this case)
Funkwhale version(s) affected: 0.19.0