Просмотр исходного кода

Add section about REST methods

Loïc Hoguin 12 лет назад
Родитель
Сommit
109a1b8227
1 измененных файлов с 9 добавлено и 0 удалено
  1. 9 0
      guide/rest_handlers.md

+ 9 - 0
guide/rest_handlers.md

@@ -22,6 +22,15 @@ Not done yet. Feel free to use the one that is currently being worked on.
 
  *  https://github.com/extend/cowboy/pull/364
 
+Methods
+-------
+
+The REST component has code for handling the following HTTP methods:
+HEAD, GET, POST, PATCH, PUT, DELETE and OPTIONS.
+
+Other methods can be accepted, however they have no specific callback
+defined for them at this time.
+
 Callbacks
 ---------