REST Controller - Enhance route selection based on available methods #111
Labels
No labels
bug
confirmed
critical
discussion
documentation
Doing
enhancement
experiment
suggestion
support
Testing
To Do
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hazaar/framework#111
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When looking for a route we look for a route that matches. When we find one, we separately look at the allowed methods on that route and if the request method is not listed we throw an error.
What SHOULD happen is, when we find a route check the methods and if the current method is not listed, keep looking. This will allow us to have a single route that uses different methods based on the type of request.
created branch
111-rest-controller-enhance-route-selection-based-on-available-methods
mentioned in merge request !28
closed via commit
4d5bfc2a3e
closed via merge request !28
changed milestone to %4