aboutsummaryrefslogtreecommitdiff
path: root/include/ejabberd_http.hrl
diff options
context:
space:
mode:
authorMickael Remond <mremond@process-one.net>2018-03-28 17:34:47 +0200
committerMickael Remond <mremond@process-one.net>2018-03-28 17:34:47 +0200
commitae151927aefbcdb14c058a784e875a2be6500db3 (patch)
tree4adc82524a12bb54016599eaa1889d8fef53fdeb /include/ejabberd_http.hrl
parentFix process_discoitems_result in mod_multicast (diff)
Add support for PATCH http method
This is needed to improve out APIs.
Diffstat (limited to '')
-rw-r--r--include/ejabberd_http.hrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ejabberd_http.hrl b/include/ejabberd_http.hrl
index 5718ff033..3c38969ca 100644
--- a/include/ejabberd_http.hrl
+++ b/include/ejabberd_http.hrl
@@ -46,6 +46,6 @@
buf :: binary(),
http_opts = [] :: list()}).
--type method() :: 'GET' | 'HEAD' | 'DELETE' | 'OPTIONS' | 'PUT' | 'POST' | 'TRACE'.
+-type method() :: 'GET' | 'HEAD' | 'DELETE' | 'OPTIONS' | 'PUT' | 'POST' | 'TRACE' | 'PATCH'.
-type protocol() :: http | https.
-type http_request() :: #request{}.