comparison OrthancServer/Sources/OrthancRestApi/OrthancRestApi.cpp @ 4374:79ef2b6d8e76

there will be a 1.8.2 release before 1.9.0
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Dec 2020 10:55:32 +0100
parents 886bc367aeb2
children 9e2fc6911ac8
comparison
equal deleted inserted replaced
4373:c601f48c7c80 4374:79ef2b6d8e76
130 "Received an empty DICOM file"); 130 "Received an empty DICOM file");
131 } 131 }
132 132
133 if (ZipReader::IsZipMemoryBuffer(call.GetBodyData(), call.GetBodySize())) 133 if (ZipReader::IsZipMemoryBuffer(call.GetBodyData(), call.GetBodySize()))
134 { 134 {
135 // New in Orthanc 1.9.0 135 // New in Orthanc 1.8.2
136 std::unique_ptr<ZipReader> reader(ZipReader::CreateFromMemory(call.GetBodyData(), call.GetBodySize())); 136 std::unique_ptr<ZipReader> reader(ZipReader::CreateFromMemory(call.GetBodyData(), call.GetBodySize()));
137 137
138 Json::Value answer = Json::arrayValue; 138 Json::Value answer = Json::arrayValue;
139 139
140 std::string filename, content; 140 std::string filename, content;