25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Add support for PATCH http method

This is needed to improve out APIs.
This commit is contained in:
Mickael Remond 2018-03-28 17:34:47 +02:00
parent dfbdffad44
commit ae151927ae
No known key found for this signature in database
GPG Key ID: E6F6045D79965AA3

View File

@ -46,6 +46,6 @@
buf :: binary(), buf :: binary(),
http_opts = [] :: list()}). 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 protocol() :: http | https.
-type http_request() :: #request{}. -type http_request() :: #request{}.