send response in webdav_delete webdav

Mon, 02 May 2022 20:20:37 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Mon, 02 May 2022 20:20:37 +0200
branch
webdav
changeset 326
814b94f820db
parent 325
2d14055c3543
child 327
24e740ed90b3

send response in webdav_delete

src/server/webdav/operation.c file | annotate | diff | comparison | revisions
--- a/src/server/webdav/operation.c	Mon May 02 11:29:15 2022 +0200
+++ b/src/server/webdav/operation.c	Mon May 02 20:20:37 2022 +0200
@@ -736,6 +736,14 @@
         i++;
     }
     
+    // send response
+    if(ret == REQ_PROCEED) {
+        protocol_status(op->sn, op->rq, 204, NULL);
+        protocol_start_response(op->sn, op->rq);
+    } else {
+        protocol_status(op->sn, op->rq, 204, NULL);
+    }
+    
     return ret;
 }
 

mercurial