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