Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-01-19 00:14:46 +0300
committerIgor Sysoev <igor@sysoev.ru>2007-01-19 00:14:46 +0300
commite95ea5b878895965889c05c1b1c804c0cf8bf43e (patch)
tree8f0b13fee61f1f3629d3d686052cf2becc5b1e44 /src/http/modules/ngx_http_dav_module.c
parent56331ba4993b02ce6c5ac67b8fee631cac53c652 (diff)
the PUTing to collection must return NGX_HTTP_BAD_REQUEST
Diffstat (limited to 'src/http/modules/ngx_http_dav_module.c')
-rw-r--r--src/http/modules/ngx_http_dav_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_dav_module.c b/src/http/modules/ngx_http_dav_module.c
index ad673f5a0..277a5bfc9 100644
--- 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 *r)
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;