Move "Content-Type" header setting.

This commit is contained in:
XMRig
2020-03-01 12:57:19 +07:00
parent 7144fb01bf
commit 23e0f1936d
2 changed files with 4 additions and 1 deletions

View File

@@ -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;