-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
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
Versioning ignores HTTP method, only matches on route name. #1782
Comments
Added a third DELETE route under the version2 definition and now GET and POST verbs are matching to this. It appears to be matching only to the last-defined route ? delete "/" do
return "quux"
end |
This looks suspiciously simple for a bug, but |
Sure, i'll take a look and see what I can find. |
I would say the HTTP way is |
I opened #1799 which I believe to be related and contains some analysis and suggestions. |
When defining the same routes under different versions, the version 2 routes are not matching on the http method, it appears that they're only looking at the name.
The text was updated successfully, but these errors were encountered: