# HG changeset patch # User Alain Mazy # Date 1676641144 -3600 # Node ID 5281a859248d71bd6f7f1afd2c6fe53498a36a89 # Parent b7fd466764cc79c0f2fdef8703ce0092a284f6b6 fix performance warning diff -r b7fd466764cc -r 5281a859248d Plugin/AuthorizationWebService.cpp --- a/Plugin/AuthorizationWebService.cpp Fri Feb 17 14:27:54 2023 +0100 +++ b/Plugin/AuthorizationWebService.cpp Fri Feb 17 14:39:04 2023 +0100 @@ -111,6 +111,11 @@ headersValues[headersCount] = "application/json"; headersCount++; + // set the correct content type for the outgoing + headersKeys[headersCount] = "Expect"; + headersValues[headersCount] = ""; + headersCount++; + std::string flatBody = body.toStyledString(); if (OrthancPluginHttpClient(GetGlobalContext(), *answerBody, *answerHeaders,