diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2018-07-31 21:09:14 +0300 |
---|---|---|
committer | Aleksey Belousov <beloal@users.noreply.github.com> | 2018-08-10 20:16:14 +0300 |
commit | 9a8c58ee092ee108f5b360c55fdce34611221d11 (patch) | |
tree | f179dd216be5553bb7d5f28e0b9a453e744de4c3 /editor | |
parent | 98729c07f710b5b088307dc197e00f6f6569a0fb (diff) |
Review fixes
Diffstat (limited to 'editor')
-rw-r--r-- | editor/user_stats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/user_stats.cpp b/editor/user_stats.cpp index 66e3b3c6fa..b645fe78b5 100644 --- a/editor/user_stats.cpp +++ b/editor/user_stats.cpp @@ -90,7 +90,7 @@ bool UserStatsLoader::Update(string const & userName) auto const url = kUserStatsUrl + "&name=" + UrlEncode(userName); platform::HttpClient request(url); - request.SetUserAgent(GetPlatform().GetAppUserAgent()); + request.SetRawHeader("User-Agent", GetPlatform().GetAppUserAgent()); if (!request.RunHttpRequest()) { |