diff OrthancServer/OrthancRestApi/OrthancRestApi.cpp @ 1572:904096e7367e

More information about the origin request in OnStoredInstance() callbacks
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Aug 2015 12:10:12 +0200
parents 1b7def486e62
children bc34c69b594a
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestApi.cpp	Tue Aug 25 11:04:19 2015 +0200
+++ b/OrthancServer/OrthancRestApi/OrthancRestApi.cpp	Tue Aug 25 12:10:12 2015 +0200
@@ -84,6 +84,7 @@
     std::string postData(call.GetBodyData(), call.GetBodySize());
 
     DicomInstanceToStore toStore;
+    toStore.SetRestOrigin(call);
     toStore.SetBuffer(postData);
 
     std::string publicId;