Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
4241:3510da0e260c | 4242:5cfa6ba75dfc |
---|---|
1051 | 1051 |
1052 { | 1052 { |
1053 UriComponents root; // TODO | 1053 UriComponents root; // TODO |
1054 root.push_back("a"); | 1054 root.push_back("a"); |
1055 root.push_back("b"); | 1055 root.push_back("b"); |
1056 httpServer.Register(root, new OrthancWebDav(context)); | 1056 httpServer.Register(root, new OrthancWebDav(context, true /* allow delete */)); |
1057 } | 1057 } |
1058 | 1058 |
1059 if (httpServer.GetPortNumber() < 1024) | 1059 if (httpServer.GetPortNumber() < 1024) |
1060 { | 1060 { |
1061 LOG(WARNING) << "The HTTP port is privileged (" | 1061 LOG(WARNING) << "The HTTP port is privileged (" |