整理代码

This commit is contained in:
xiongziliang
2020-04-04 19:55:11 +08:00
parent 67f4ca4b83
commit 11420b868b
11 changed files with 14 additions and 18 deletions

View File

@@ -71,7 +71,7 @@ void HttpClient::sendRequest(const string &strUrl, float fTimeOutSec) {
host = FindField(host.data(), NULL, ":");
}
_header.emplace("Host", host);
_header.emplace("Tools", "ZLMediaKit");
_header.emplace("Tools", SERVER_NAME);
_header.emplace("Connection", "keep-alive");
_header.emplace("Accept", "*/*");
_header.emplace("Accept-Language", "zh-CN,zh;q=0.8");