Mercurial > hg > nginx
diff src/http/modules/ngx_http_dav_module.c @ 1060:8e5c032e7855
the PUTing to collection must return NGX_HTTP_BAD_REQUEST
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 18 Jan 2007 21:14:46 +0000 |
parents | 01f818c6f7de |
children | 4d203f76b757 |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_dav_module.c +++ b/src/http/modules/ngx_http_dav_module.c @@ -130,7 +130,7 @@ ngx_http_dav_handler(ngx_http_request_t case NGX_HTTP_PUT: if (r->uri.data[r->uri.len - 1] == '/') { - return NGX_DECLINED; + return NGX_HTTP_BAD_REQUEST; } r->request_body_in_file_only = 1;