comparison src/http/modules/ngx_http_dav_module.c @ 3598:8152369f7037 stable-0.7

merge r3528: remove r->zero_in_uri
author Igor Sysoev <igor@sysoev.ru>
date Mon, 07 Jun 2010 12:27:06 +0000
parents 555de5bdb800
children
comparison
equal deleted inserted replaced
3597:0d8b8c84bab7 3598:8152369f7037
144 ngx_http_dav_handler(ngx_http_request_t *r) 144 ngx_http_dav_handler(ngx_http_request_t *r)
145 { 145 {
146 ngx_int_t rc; 146 ngx_int_t rc;
147 ngx_http_dav_loc_conf_t *dlcf; 147 ngx_http_dav_loc_conf_t *dlcf;
148 148
149 if (r->zero_in_uri) {
150 return NGX_DECLINED;
151 }
152
153 dlcf = ngx_http_get_module_loc_conf(r, ngx_http_dav_module); 149 dlcf = ngx_http_get_module_loc_conf(r, ngx_http_dav_module);
154 150
155 if (!(r->method & dlcf->methods)) { 151 if (!(r->method & dlcf->methods)) {
156 return NGX_DECLINED; 152 return NGX_DECLINED;
157 } 153 }