-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return 405 error for missing endpoints on route
- Resolve task in Issue #48 - Return a 405 error where applicable (the standard response when a request method is not allowed for a resource) - Return the mandatory (according to RFC 2616) 'Allow' response header with the full list of implemented methods for that route - Add and pass test for 405 error - Update tests that were expecting the standard Meteor static HTML response in this event to expect the 405 error instead - Perform minor cosmetic code refactoring in Route - Update change log to include all recently updated response codes - Skip any README update for now, as the apiDoc will be coming very soon
- Loading branch information
Showing
3 changed files
with
137 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters