Location
returned by redirect_slashes
should be relative instead of absolute
#2651
-
I have a following setup:
When a browser accidentally calls an endpoint without an ending slash, Starlette responds with a 307 with If Starlette responded with Django does it like that, but they respond with 301s:
|
Beta Was this translation helpful? Give feedback.
Answered by
rijenkii
Nov 11, 2024
Replies: 1 comment
-
As this discussion has been successfully forgotten about, I created an issue just to receive an answer. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rijenkii
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As this discussion has been successfully forgotten about, I created an issue just to receive an answer.