diff --git a/Release/src/http/client/http_client_asio.cpp b/Release/src/http/client/http_client_asio.cpp index a5967127c1..a884099032 100644 --- a/Release/src/http/client/http_client_asio.cpp +++ b/Release/src/http/client/http_client_asio.cpp @@ -1123,6 +1123,7 @@ class asio_context : public request_context, public std::enable_shared_from_this if (colon != std::string::npos) { auto name = header.substr(0, colon); + auto value = header.substr(colon + 1, header.size() - colon - 2); boost::algorithm::trim(name); boost::algorithm::trim(value);