From cfd80f778ceda92255d591bd1768f348848a8a9a Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Tue, 2 Jun 2020 09:43:55 +0000 Subject: [PATCH] added MIO_HTTP_PATCH --- mio/lib/http.c | 1 + mio/lib/mio-htre.h | 1 + 2 files changed, 2 insertions(+) diff --git a/mio/lib/http.c b/mio/lib/http.c index 12ca7f2..f4c4710 100644 --- a/mio/lib/http.c +++ b/mio/lib/http.c @@ -114,6 +114,7 @@ const mio_bch_t* mio_http_method_to_bcstr (mio_http_method_t type) "POST", "PUT", "DELETE", + "PATCH", "OPTIONS", "TRACE", "CONNECT" diff --git a/mio/lib/mio-htre.h b/mio/lib/mio-htre.h index 82f238c..1ad9299 100644 --- a/mio/lib/mio-htre.h +++ b/mio/lib/mio-htre.h @@ -54,6 +54,7 @@ enum mio_http_method_t MIO_HTTP_POST, MIO_HTTP_PUT, MIO_HTTP_DELETE, + MIO_HTTP_PATCH, MIO_HTTP_OPTIONS, MIO_HTTP_TRACE, MIO_HTTP_CONNECT