Closed genya0407 closed 1 year ago
If we define two actions with the same path but a different method, requests pointing to the path result in unintuitive behavior:
This is because, in dispatching requests, Shelf's current implementation does not pass method to R3::Tree#match.
method
R3::Tree#match
In order to fix this issue, I modified Dispatcher to use method in addition to path to match @tree.
path
@tree
@katzer Thank you for reviewing my PR, and sorry for my late reply! I fixed the pointed problems. Could you check it?
If we define two actions with the same path but a different method, requests pointing to the path result in unintuitive behavior:
This is because, in dispatching requests, Shelf's current implementation does not pass
method
toR3::Tree#match
.In order to fix this issue, I modified Dispatcher to use
method
in addition topath
to match@tree
.