-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Router] Adds OPTIONS and HEAD routes by default (#700)
* [Router] Adds OPTIONS and HEAD routes by default Issue #240 HTTP Specs for Methos https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html OPTIONS and HEAD routes should be automatically defined for routes currently developers have to define the OPTIONS route via the option route method. - Removes the add_head method from router - Adds OPTIONS and HEAD routes ass needed via DSL With these changes developers should no longer need to specify the OPTIONS and HEAD routes and will now be defined by default. * Align route line
- Loading branch information
Showing
5 changed files
with
18 additions
and
12 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
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