mirror of
https://github.com/monero-project/monero.git
synced 2025-05-08 13:05:04 -04:00
Improvements in JSON RPC
This commit is contained in:
parent
29c2859a3e
commit
a401a02ddb
24 changed files with 296 additions and 150 deletions
|
@ -587,7 +587,7 @@ namespace net_utils
|
|||
{
|
||||
std::string buf = "HTTP/1.1 ";
|
||||
buf += boost::lexical_cast<std::string>(response.m_response_code) + " " + response.m_response_comment + "\r\n" +
|
||||
"Server: Siski v0.1\r\n"
|
||||
"Server: Epee-based\r\n"
|
||||
"Content-Length: ";
|
||||
buf += boost::lexical_cast<std::string>(response.m_body.size()) + "\r\n";
|
||||
buf += "Content-Type: ";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue