diff OrthancFramework/Sources/Enumerations.cpp @ 4245:c70df925151e

RequestOrigin_WebDav
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 10 Oct 2020 11:23:11 +0200
parents f0d81320f17f
children 3dffe8f7af48
line wrap: on
line diff
--- a/OrthancFramework/Sources/Enumerations.cpp	Sat Oct 10 10:38:45 2020 +0200
+++ b/OrthancFramework/Sources/Enumerations.cpp	Sat Oct 10 11:23:11 2020 +0200
@@ -738,6 +738,9 @@
       case RequestOrigin_Lua:
         return "Lua";
 
+      case RequestOrigin_WebDav:
+        return "WebDav";
+
       default:
         throw OrthancException(ErrorCode_ParameterOutOfRange);
     }
@@ -1662,6 +1665,10 @@
     {
       return RequestOrigin_Lua;
     }
+    else if (origin == "WebDav")
+    {
+      return RequestOrigin_WebDav;
+    }
     else
     {
       throw OrthancException(ErrorCode_ParameterOutOfRange);