comparison Framework/Loaders/DicomStructureSetLoader.cpp @ 967:e3234630df9c toa2019082801

Removed pragma-no-cache header that seems to be useless (and even nefarious)
author Benjamin Golinvaux <bgo@osimis.io>
date Wed, 28 Aug 2019 10:54:15 +0200
parents 91f827272c1f
children 48710d53086f
comparison
equal deleted inserted replaced
966:10c83e30facd 967:e3234630df9c
209 LOG(TRACE) << " DicomStructureSetLoader::LoadStructure::Handle() about to schedule /tools/lookup command with LookupInstance on result"; 209 LOG(TRACE) << " DicomStructureSetLoader::LoadStructure::Handle() about to schedule /tools/lookup command with LookupInstance on result";
210 #endif 210 #endif
211 command->SetUri("/tools/lookup"); 211 command->SetUri("/tools/lookup");
212 command->SetMethod(Orthanc::HttpMethod_Post); 212 command->SetMethod(Orthanc::HttpMethod_Post);
213 command->SetBody(*it); 213 command->SetBody(*it);
214 command->SetHttpHeader("pragma", "no-cache"); 214 //command->SetHttpHeader("pragma", "no-cache");
215 command->SetHttpHeader("cache-control", "no-cache"); 215 command->SetHttpHeader("cache-control", "no-cache");
216 #if 0 216 #if 0
217 std::string itStr(*it); 217 std::string itStr(*it);
218 if(itStr == "1.3.12.2.1107.5.1.4.66930.30000018062412550879500002198") { 218 if(itStr == "1.3.12.2.1107.5.1.4.66930.30000018062412550879500002198") {
219 if (logbgo115) 219 if (logbgo115)