#336 - Show "Response status" in send_post_request
This commit is contained in:
parent
4809619892
commit
4a5cbb1153
1 changed files with 4 additions and 3 deletions
|
|
@ -929,6 +929,7 @@ fc::http::reply bitcoin_rpc_client::send_post_request(std::string body, bool sho
|
||||||
ilog("### Request URL: ${url}", ("url", url));
|
ilog("### Request URL: ${url}", ("url", url));
|
||||||
ilog("### Request: ${body}", ("body", body));
|
ilog("### Request: ${body}", ("body", body));
|
||||||
std::stringstream ss(std::string(reply.body.begin(), reply.body.end()));
|
std::stringstream ss(std::string(reply.body.begin(), reply.body.end()));
|
||||||
|
ilog("### Response status: ${status}", ("status", reply.status));
|
||||||
ilog("### Response: ${ss}", ("ss", ss.str()));
|
ilog("### Response: ${ss}", ("ss", ss.str()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue