Add RestSslClient; add User-Agent header.

This commit is contained in:
Chunting Gu
2018-10-11 12:47:47 +08:00
parent b02ea902c9
commit d159ce46bf
26 changed files with 232 additions and 169 deletions
+1
View File
@@ -9,6 +9,7 @@ namespace webcc {
const std::string kHost = "Host";
const std::string kContentType = "Content-Type";
const std::string kContentLength = "Content-Length";
const std::string kUserAgent = "User-Agent";
const std::string kAppJsonUtf8 = "application/json; charset=utf-8";