diff --git a/olp-cpp-sdk-core/src/http/curl/NetworkCurl.cpp b/olp-cpp-sdk-core/src/http/curl/NetworkCurl.cpp index 83f518e82..dd4bb6bce 100644 --- a/olp-cpp-sdk-core/src/http/curl/NetworkCurl.cpp +++ b/olp-cpp-sdk-core/src/http/curl/NetworkCurl.cpp @@ -817,6 +817,9 @@ ErrorCode NetworkCurl::SendImplementation( #if CURL_AT_LEAST_VERSION(7, 21, 0) curl_easy_setopt(curl_handle, CURLOPT_ACCEPT_ENCODING, ""); +#endif + +#if CURL_AT_LEAST_VERSION(8, 12, 0) curl_easy_setopt(curl_handle, CURLOPT_TRANSFER_ENCODING, 1L); #endif