Mercurial > hg > orthanc
diff OrthancFramework/Sources/HttpServer/HttpServer.cpp @ 4252:f047e2734655
fix webdav
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 15 Oct 2020 17:13:35 +0200 |
parents | 6c3721ff284c |
children | 0ae2ca210077 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/HttpServer/HttpServer.cpp Tue Oct 13 15:42:10 2020 +0200 +++ b/OrthancFramework/Sources/HttpServer/HttpServer.cpp Thu Oct 15 17:13:35 2020 +0200 @@ -963,8 +963,7 @@ else if (method == "DELETE") { - if (!path.empty() && // Cannot delete the root - bucket->second->DeleteItem(path)) + if (bucket->second->DeleteItem(path)) { output.SendStatus(HttpStatus_204_NoContent); }