ridi / ridi-token-refresher

MIT License
0 stars 0 forks source link

Remove tailing slash on url #9

Open antiline opened 6 years ago

antiline commented 6 years ago

django does not provide an endpoint whether trailing slash or not.

It is solved with the options that django provides to handle the response whether or not it is trailing slash. django will check the url, and if there is no match, and there is no trailing slash, it will be redirected with a trailing slash.

However, in the case of POST requests, django does not redirect properly. (respone 301 redirect)

So I am going to create a middleware for the trailing slash to solve the related problems while following the style guide.

namenu commented 6 years ago

@antiline 등록하시는 이슈들이 어떤 이유에서 진행하는지 설명이 없는 경우가 많은 것 같습니다. 어떤 문제가 있어서 있는지를 서술해 주시면 도움이 될 것 같습니다.

antiline commented 6 years ago

@namenu I added a description.