Mercurial > hg > orthanc
comparison OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp @ 4810:7afbb54bd028
merge storage-cache
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 23 Nov 2021 09:22:11 +0100 |
parents | ae643f664628 434843934307 |
children | 70d2a97ca8cb 7053502fbf97 |
comparison
equal
deleted
inserted
replaced
4809:2ca4213fb50a | 4810:7afbb54bd028 |
---|---|
2975 ServerContext& context = OrthancRestApi::GetContext(call); | 2975 ServerContext& context = OrthancRestApi::GetContext(call); |
2976 | 2976 |
2977 std::string publicId = call.GetUriComponent("id", ""); | 2977 std::string publicId = call.GetUriComponent("id", ""); |
2978 | 2978 |
2979 std::string dicomContent; | 2979 std::string dicomContent; |
2980 context.ReadDicom(dicomContent, publicId); | 2980 context.ReadDicomForHeader(dicomContent, publicId); |
2981 | 2981 |
2982 // TODO Consider using "DicomMap::ParseDicomMetaInformation()" to | 2982 // TODO Consider using "DicomMap::ParseDicomMetaInformation()" to |
2983 // speed up things here | 2983 // speed up things here |
2984 | 2984 |
2985 ParsedDicomFile dicom(dicomContent); | 2985 ParsedDicomFile dicom(dicomContent); |