diff options
author | Loïc Hoguin <[email protected]> | 2013-04-12 18:20:41 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-04-12 19:02:00 +0200 |
commit | b58a0549e139b410db50ddd443cc457fb677fa7e (patch) | |
tree | 819ab4484bfb6b75262e2d9eb871190453fecadb /guide/rest_handlers.md | |
parent | d063511a0e4988d62357f9c17744bb9aa0470a06 (diff) | |
download | cowboy-b58a0549e139b410db50ddd443cc457fb677fa7e.tar.gz cowboy-b58a0549e139b410db50ddd443cc457fb677fa7e.tar.bz2 cowboy-b58a0549e139b410db50ddd443cc457fb677fa7e.zip |
Add default operations for OPTIONS method in REST
It defaults to setting the Allow header to "HEAD, GET, OPTIONS".
Diffstat (limited to 'guide/rest_handlers.md')
-rw-r--r-- | guide/rest_handlers.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guide/rest_handlers.md b/guide/rest_handlers.md index 1eccc65..5ae6b88 100644 --- a/guide/rest_handlers.md +++ b/guide/rest_handlers.md @@ -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` | |