Skip to content

Commit

Permalink
handle new HTTP methods
Browse files Browse the repository at this point in the history
  • Loading branch information
ghazel committed Jul 30, 2019
1 parent 73cc9da commit 9a75d92
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions http.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9a75d92

Please sign in to comment.