fix webdav_delete response in case of errors webdav

Wed, 11 May 2022 20:41:10 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 11 May 2022 20:41:10 +0200
branch
webdav
changeset 352
d0a7ef49db0f
parent 351
5533db9b64e2
child 353
382d6c221807

fix webdav_delete response in case of errors

src/server/webdav/webdav.c file | annotate | diff | comparison | revisions
--- a/src/server/webdav/webdav.c	Wed May 11 20:31:26 2022 +0200
+++ b/src/server/webdav/webdav.c	Wed May 11 20:41:10 2022 +0200
@@ -681,7 +681,7 @@
         protocol_status(sn, rq, 204, NULL);
         protocol_start_response(sn, rq);
     } else {
-        protocol_status(sn, rq, 204, NULL);
+        protocol_status(sn, rq, 500, NULL);
     }
     
     return ret;

mercurial