# HG changeset patch # User Sebastien Jodogne # Date 1620218047 -7200 # Node ID c2863f5204a8c2a887e62adc80dc8ba4a0aab790 # Parent b0ee417b667a18e091ef3d81e8a54539c8dd8b84 fix build because of update in Orthanc framework diff -r b0ee417b667a -r c2863f5204a8 Resources/Orthanc/Stone/OrthancHttpConnection.cpp --- a/Resources/Orthanc/Stone/OrthancHttpConnection.cpp Tue Feb 23 10:27:58 2021 +0100 +++ b/Resources/Orthanc/Stone/OrthancHttpConnection.cpp Wed May 05 14:34:07 2021 +0200 @@ -66,8 +66,9 @@ client_.SetMethod(Orthanc::HttpMethod_Post); client_.SetUrl(url_ + uri); - client_.SetBody(body); + client_.SetExternalBody(body); client_.ApplyAndThrowException(result); + client_.ClearBody(); } @@ -79,8 +80,9 @@ client_.SetMethod(Orthanc::HttpMethod_Put); client_.SetUrl(url_ + uri); - client_.SetBody(body); + client_.SetExternalBody(body); client_.ApplyAndThrowException(result); + client_.ClearBody(); }