diff OrthancServer/Sources/main.cpp @ 4242:5cfa6ba75dfc

deleting resources from Orthanc WebDAV
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 09 Oct 2020 17:51:06 +0200
parents 799c0c527ced
children 64f57c9d5f79
line wrap: on
line diff
--- a/OrthancServer/Sources/main.cpp	Fri Oct 09 12:07:23 2020 +0200
+++ b/OrthancServer/Sources/main.cpp	Fri Oct 09 17:51:06 2020 +0200
@@ -1053,7 +1053,7 @@
       UriComponents root;  // TODO
       root.push_back("a");
       root.push_back("b");
-      httpServer.Register(root, new OrthancWebDav(context));
+      httpServer.Register(root, new OrthancWebDav(context, true /* allow delete */));
     }
 
     if (httpServer.GetPortNumber() < 1024)