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:
parent
dfbdffad44
commit
ae151927ae
@ -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{}.
|
||||||
|
Loading…
Reference in New Issue
Block a user