diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-11-14 12:43:48 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-11-14 12:43:48 +0000 |
commit | 8365f731bfd17c854a1eb3cef0987ba30f2f6ab8 (patch) | |
tree | 56126521098d80f9c49ebcedee91e57a14bea363 /src/http/ngx_http_core_module.c | |
parent | e927b1e58a20c766cfb3f29250d20e35fa54278b (diff) | |
download | nginx-8365f731bfd17c854a1eb3cef0987ba30f2f6ab8.tar.gz nginx-8365f731bfd17c854a1eb3cef0987ba30f2f6ab8.zip |
add more WebDAV methods
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r-- | src/http/ngx_http_core_module.c | 16 |
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 } }; |