# HG changeset patch # User Benjamin Golinvaux # Date 1567068032 -7200 # Node ID 48710d53086fa22b842f2fe483dbf90de640417e # Parent 7dd340d36fd417275bee2efc3346143f900995f7 Removed Cache-Control header from POST request diff -r 7dd340d36fd4 -r 48710d53086f Framework/Loaders/DicomStructureSetLoader.cpp --- a/Framework/Loaders/DicomStructureSetLoader.cpp Wed Aug 28 10:55:16 2019 +0200 +++ b/Framework/Loaders/DicomStructureSetLoader.cpp Thu Aug 29 10:40:32 2019 +0200 @@ -211,8 +211,12 @@ command->SetUri("/tools/lookup"); command->SetMethod(Orthanc::HttpMethod_Post); command->SetBody(*it); + + // The following headers have been commented out because + // they were causing issues in the reverse proxy in a dev scenario. + // They should NOT be required for POST requests //command->SetHttpHeader("pragma", "no-cache"); - command->SetHttpHeader("cache-control", "no-cache"); + //command->SetHttpHeader("cache-control", "no-cache"); #if 0 std::string itStr(*it); if(itStr == "1.3.12.2.1107.5.1.4.66930.30000018062412550879500002198") {