diff --git a/src/http/modules/ngx_http_dav_module.c b/src/http/modules/ngx_http_dav_module.c index ad673f5..277a5bf 100644 --- a/src/http/modules/ngx_http_dav_module.c +++ b/src/http/modules/ngx_http_dav_module.c @@ -130,7 +130,7 @@ 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;