comparison src/http/modules/ngx_http_dav_module.c @ 3527:84905c7b2aa7

remove r->zero_in_uri
author Igor Sysoev <igor@sysoev.ru>
date Mon, 24 May 2010 12:35:10 +0000
parents 423ff11e3018
children f9a96545fee7
comparison
equal deleted inserted replaced
3526:62a4fd1e6e2c 3527:84905c7b2aa7
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 }