From 9a75d920b42ba23ab5258a7cced5519a656f8378 Mon Sep 17 00:00:00 2001 From: Greg Hazel Date: Tue, 30 Jul 2019 13:07:37 -0700 Subject: [PATCH] handle new HTTP methods --- http.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/http.c b/http.c index cae5e8c8..8f724f86 100644 --- a/http.c +++ b/http.c @@ -59,6 +59,13 @@ const char* evhttp_method(evhttp_cmd_type type) case EVHTTP_REQ_TRACE: return "TRACE"; case EVHTTP_REQ_CONNECT: return "CONNECT"; case EVHTTP_REQ_PATCH: return "PATCH"; + case EVHTTP_REQ_PROPFIND: return "PROPFIND"; + case EVHTTP_REQ_PROPPATCH: return "PROPPATCH"; + case EVHTTP_REQ_MKCOL: return "MKCOL"; + case EVHTTP_REQ_LOCK: return "LOCK"; + case EVHTTP_REQ_UNLOCK: return "UNLOCK"; + case EVHTTP_REQ_COPY: return "COPY"; + case EVHTTP_REQ_MOVE: return "MOVE"; } return NULL; }