Mercurial > hg > nginx
comparison src/http/modules/ngx_http_dav_module.c @ 1823:5ae4cace0727
add comment
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 03 Jan 2008 20:43:12 +0000 |
parents | 935427c55e04 |
children | 8299cd253745 |
comparison
equal
deleted
inserted
replaced
1822:935427c55e04 | 1823:5ae4cace0727 |
---|---|
420 | 420 |
421 dir = 1; | 421 dir = 1; |
422 | 422 |
423 } else { | 423 } else { |
424 | 424 |
425 /* | |
426 * we do not need to test (r->uri.data[r->uri.len - 1] == '/') | |
427 * because it ngx_file_info("/file/") returned NGX_ENOTDIR above | |
428 */ | |
429 | |
425 depth = ngx_http_dav_depth(r, 0); | 430 depth = ngx_http_dav_depth(r, 0); |
426 | 431 |
427 if (depth != 0 && depth != NGX_HTTP_DAV_INFINITY_DEPTH) { | 432 if (depth != 0 && depth != NGX_HTTP_DAV_INFINITY_DEPTH) { |
428 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, | 433 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, |
429 "\"Depth\" header must be 0 or infinity"); | 434 "\"Depth\" header must be 0 or infinity"); |