diff options
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' |