We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a very restrictive requirement
I need to support path likes
/foo /foo/
without redirect from one form to the other ( in other words, the last trailing slash should be ignored )
https://github.com/buaazp/fasthttprouter works fine for this, but fasthttp/router panics
panic: a handler is already registered for path '/stream/' goroutine 1 [running]: github.com/fasthttp/router/radix.(*Tree).Add(0xc0003ee640, {0xc000120540, 0x8}, 0xc0003ed110)
how can I achieve it?
The text was updated successfully, but these errors were encountered:
@savsgio any idea?
Sorry, something went wrong.
Hi @peczenyj,
Sorry for my delayed answer.
Now the lib can't support this. But if you want and need it, I will be happy to review a PR 😉
Hi @peczenyj, Sorry for my delayed answer. Now the lib can't support this. But if you want and need it, I will be happy to review a PR 😉
I tried to add such feature but... it did not work properly. The impact is huge :/
I will keep trying, thanks
No branches or pull requests
I have a very restrictive requirement
I need to support path likes
/foo
/foo/
without redirect from one form to the other ( in other words, the last trailing slash should be ignored )
https://github.com/buaazp/fasthttprouter works fine for this, but fasthttp/router panics
how can I achieve it?
The text was updated successfully, but these errors were encountered: