mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 13:10:24 +00:00
Add default operations for OPTIONS method in REST
It defaults to setting the Allow header to "HEAD, GET, OPTIONS".
This commit is contained in:
parent
d063511a0e
commit
b58a0549e1
4 changed files with 45 additions and 12 deletions
|
@ -77,7 +77,7 @@ empty column means there is no default value for this callback.
|
|||
| moved_permanently | `false` |
|
||||
| moved_temporarily | `false` |
|
||||
| multiple_choices | `false` |
|
||||
| options | |
|
||||
| options | `ok` |
|
||||
| previously_existed | `false` |
|
||||
| resource_exists | `true` |
|
||||
| service_available | `true` |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue