diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2018-07-30 19:16:42 +0300 |
---|---|---|
committer | Aleksey Belousov <beloal@users.noreply.github.com> | 2018-08-10 20:16:14 +0300 |
commit | 98729c07f710b5b088307dc197e00f6f6569a0fb (patch) | |
tree | d7b7c4afdaecfed981bab64b72a418e98ea2783c /editor | |
parent | 693a9917286acd1646962e9bf292ed6f356c1b5c (diff) |
[Core] Added user agent for http requests
Diffstat (limited to 'editor')
-rw-r--r-- | editor/user_stats.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/user_stats.cpp b/editor/user_stats.cpp index 35d7d6261a..66e3b3c6fa 100644 --- a/editor/user_stats.cpp +++ b/editor/user_stats.cpp @@ -90,6 +90,7 @@ bool UserStatsLoader::Update(string const & userName) auto const url = kUserStatsUrl + "&name=" + UrlEncode(userName); platform::HttpClient request(url); + request.SetUserAgent(GetPlatform().GetAppUserAgent()); if (!request.RunHttpRequest()) { |