diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-04-19 15:30:56 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-04-19 15:30:56 +0000 |
commit | 7bdb720d6a7b75021ca7cea17d6f3199b5acf4ca (patch) | |
tree | 1ff27cb0b6a00fc3a58aee44f869baa6574f0329 /src/http/ngx_http_parse.c | |
parent | afae3fd4a4ba16147fa7a4db8e4d90799ee3b56b (diff) | |
download | nginx-release-0.3.40.tar.gz nginx-release-0.3.40.zip |
nginx-0.3.40-RELEASE importrelease-0.3.40
*) Feature: the ngx_http_dav_module supports the MKCOL method.
*) Feature: the "create_full_put_path" directive.
*) Feature: the "$limit_rate" variable.
Diffstat (limited to 'src/http/ngx_http_parse.c')
-rw-r--r-- | src/http/ngx_http_parse.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c index c8431774f..11c163290 100644 --- a/src/http/ngx_http_parse.c +++ b/src/http/ngx_http_parse.c @@ -89,6 +89,14 @@ ngx_http_parse_request_line(ngx_http_request_t *r, ngx_buf_t *b) r->method = NGX_HTTP_HEAD; } + } else if (p - m == 5) { + + if (m[0] == 'M' && m[1] == 'K' + && m[2] == 'C' && m[3] == 'O' && m[4] == 'L') + { + r->method = NGX_HTTP_MKCOL; + } + } else if (p - m == 6) { if (m[0] == 'D' && m[1] == 'E' && m[2] == 'L' |