aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_core_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index ff933481f..7f12daef1 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -2664,9 +2664,19 @@ ngx_http_core_root(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
static ngx_http_method_name_t ngx_methods_names[] = {
- { "GET", (uint32_t) ~NGX_HTTP_GET },
- { "HEAD", (uint32_t) ~NGX_HTTP_HEAD },
- { "POST", (uint32_t) ~NGX_HTTP_POST },
+ { "GET", (uint32_t) ~NGX_HTTP_GET },
+ { "HEAD", (uint32_t) ~NGX_HTTP_HEAD },
+ { "POST", (uint32_t) ~NGX_HTTP_POST },
+ { "PUT", (uint32_t) ~NGX_HTTP_PUT },
+ { "DELETE", (uint32_t) ~NGX_HTTP_DELETE },
+ { "MKCOL", (uint32_t) ~NGX_HTTP_MKCOL },
+ { "COPY", (uint32_t) ~NGX_HTTP_COPY },
+ { "MOVE", (uint32_t) ~NGX_HTTP_MOVE },
+ { "OPTIONS", (uint32_t) ~NGX_HTTP_OPTIONS },
+ { "PROPFIND" , (uint32_t) ~NGX_HTTP_PROPFIND },
+ { "PROPPATCH", (uint32_t) ~NGX_HTTP_PROPPATCH },
+ { "LOCK", (uint32_t) ~NGX_HTTP_LOCK },
+ { "UNLOCK", (uint32_t) ~NGX_HTTP_UNLOCK },
{ NULL, 0 }
};