comparison OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp @ 5442:ac68a4383e51 debug-telemis

improved C-Store negotiation and logging
author Alain Mazy <am@osimis.io>
date Thu, 23 Nov 2023 16:59:16 +0100
parents 7a20ee948676
children 48b8dae6dc77
comparison
equal deleted inserted replaced
5440:99fa307438e1 5442:ac68a4383e51
1520 1520
1521 std::string sopClassUid, sopInstanceUid; 1521 std::string sopClassUid, sopInstanceUid;
1522 connection.Store(sopClassUid, sopInstanceUid, call.GetBodyData(), 1522 connection.Store(sopClassUid, sopInstanceUid, call.GetBodyData(),
1523 call.GetBodySize(), 1523 call.GetBodySize(),
1524 false /* Not a C-MOVE */, 1524 false /* Not a C-MOVE */,
1525 "", 0, 1525 "", 0);
1526 false /* AlwaysRenegotiate: no need to renegotiate since there is only a single file*/);
1527 1526
1528 Json::Value answer = Json::objectValue; 1527 Json::Value answer = Json::objectValue;
1529 answer[SOP_CLASS_UID] = sopClassUid; 1528 answer[SOP_CLASS_UID] = sopClassUid;
1530 answer[SOP_INSTANCE_UID] = sopInstanceUid; 1529 answer[SOP_INSTANCE_UID] = sopInstanceUid;
1531 1530