added MIO_HTTP_PATCH

This commit is contained in:
hyung-hwan 2020-06-02 09:43:55 +00:00
parent 3752a0f4c4
commit cfd80f778c
2 changed files with 2 additions and 0 deletions

View File

@ -114,6 +114,7 @@ const mio_bch_t* mio_http_method_to_bcstr (mio_http_method_t type)
"POST", "POST",
"PUT", "PUT",
"DELETE", "DELETE",
"PATCH",
"OPTIONS", "OPTIONS",
"TRACE", "TRACE",
"CONNECT" "CONNECT"

View File

@ -54,6 +54,7 @@ enum mio_http_method_t
MIO_HTTP_POST, MIO_HTTP_POST,
MIO_HTTP_PUT, MIO_HTTP_PUT,
MIO_HTTP_DELETE, MIO_HTTP_DELETE,
MIO_HTTP_PATCH,
MIO_HTTP_OPTIONS, MIO_HTTP_OPTIONS,
MIO_HTTP_TRACE, MIO_HTTP_TRACE,
MIO_HTTP_CONNECT MIO_HTTP_CONNECT