Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2018-07-31 21:09:14 +0300
committerAleksey Belousov <beloal@users.noreply.github.com>2018-08-10 20:16:14 +0300
commit9a8c58ee092ee108f5b360c55fdce34611221d11 (patch)
treef179dd216be5553bb7d5f28e0b9a453e744de4c3 /editor
parent98729c07f710b5b088307dc197e00f6f6569a0fb (diff)
Review fixes
Diffstat (limited to 'editor')
-rw-r--r--editor/user_stats.cpp2
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())
{