comparison src/http/ngx_http_parse.c @ 186:54aabf2b0bc6 NGINX_0_3_40

nginx 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.
author Igor Sysoev <http://sysoev.ru>
date Wed, 19 Apr 2006 00:00:00 +0400
parents 13710a1813ad
children af37b7cb6698
comparison
equal deleted inserted replaced
185:a9c5dc369ffe 186:54aabf2b0bc6
87 && m[2] == 'A' && m[3] == 'D') 87 && m[2] == 'A' && m[3] == 'D')
88 { 88 {
89 r->method = NGX_HTTP_HEAD; 89 r->method = NGX_HTTP_HEAD;
90 } 90 }
91 91
92 } else if (p - m == 5) {
93
94 if (m[0] == 'M' && m[1] == 'K'
95 && m[2] == 'C' && m[3] == 'O' && m[4] == 'L')
96 {
97 r->method = NGX_HTTP_MKCOL;
98 }
99
92 } else if (p - m == 6) { 100 } else if (p - m == 6) {
93 101
94 if (m[0] == 'D' && m[1] == 'E' && m[2] == 'L' 102 if (m[0] == 'D' && m[1] == 'E' && m[2] == 'L'
95 && m[3] == 'E' && m[4] == 'T' && m[5] == 'E') 103 && m[3] == 'E' && m[4] == 'T' && m[5] == 'E')
96 { 104 {