mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-25 05:40:39 -05:00
Move "Content-Type" header setting.
This commit is contained in:
@@ -140,7 +140,6 @@ void xmrig::HttpClient::handshake()
|
||||
|
||||
if (!body.empty()) {
|
||||
headers.insert({ "Content-Length", std::to_string(body.size()) });
|
||||
headers.insert({ "Content-Type", "application/json" });
|
||||
}
|
||||
|
||||
std::stringstream ss;
|
||||
|
||||
Reference in New Issue
Block a user