Move "Content-Type" header setting.
This commit is contained in:
parent
616c52f266
commit
f0db17be87
2 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue