Fixes for https client over AutoSocket.

This commit is contained in:
Arthur Britto
2013-02-01 19:02:08 -08:00
parent 628a1bdd5f
commit c25f480cb8
3 changed files with 39 additions and 31 deletions

View File

@@ -45,7 +45,7 @@ std::string createHTTPPost(const std::string& strHost, const std::string& strPat
s << "POST "
<< (strPath.empty() ? "/" : strPath)
<< " HTTP/1.1\r\n"
<< " HTTP/1.0\r\n"
<< "User-Agent: " SYSTEM_NAME "-json-rpc/" << FormatFullVersion() << "\r\n"
<< "Host: " << strHost << "\r\n"
<< "Content-Type: application/json\r\n"