Create implied GET method in some circumstances #22
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Research
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
slendium/framework#22
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?
Currently, resource are always required to explicitly declare a GET method to avoid a
ResourceException. This is due to the fact that, according to the spec, the GET method must always be available (and may never return a 405). However, in practice some resources only implement the POST method and are then required to add a dummy GET method that simply returns 404.The framework might as well create an implied GET method (that returns 404) whenever methods other than GET, HEAD or OPTIONS have been declared.
Resources should create an implied GET method when other methods existto Create implied GET method in some circumstances