Mercurial > hg > orthanc-stone
comparison Framework/Loaders/DicomSource.cpp @ 1472:474360793956
DicomResourcesLoader::Create()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 15 Jun 2020 16:26:57 +0200 |
parents | 30deba7bc8e2 |
children | 121d01aa328e |
comparison
equal
deleted
inserted
replaced
1471:28c64c246312 | 1472:474360793956 |
---|---|
151 case DicomSourceType_DicomWeb: | 151 case DicomSourceType_DicomWeb: |
152 { | 152 { |
153 std::unique_ptr<HttpCommand> command(new HttpCommand); | 153 std::unique_ptr<HttpCommand> command(new HttpCommand); |
154 | 154 |
155 command->SetMethod(Orthanc::HttpMethod_Get); | 155 command->SetMethod(Orthanc::HttpMethod_Get); |
156 command->SetUrl(webService_.GetUrl() + "/" + EncodeGetArguments(uri, arguments)); | 156 command->SetUrl(webService_.GetUrl() + EncodeGetArguments(uri, arguments)); |
157 command->SetHttpHeaders(webService_.GetHttpHeaders()); | 157 command->SetHttpHeaders(webService_.GetHttpHeaders()); |
158 | 158 |
159 for (std::map<std::string, std::string>::const_iterator | 159 for (std::map<std::string, std::string>::const_iterator |
160 it = headers.begin(); it != headers.end(); ++it) | 160 it = headers.begin(); it != headers.end(); ++it) |
161 { | 161 { |