Mercurial > hg > nginx-quic
changeset 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 | bff1312b84ed |
children | 9aca452fe12a |
files | src/http/modules/ngx_http_dav_module.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;