From 15b88a480b20371a9418817d57194bbf122e8e24 Mon Sep 17 00:00:00 2001 From: Srivats P Date: Sat, 29 Oct 2016 12:26:42 +0530 Subject: [PATCH] Fix User-Agent header --- common/updater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/updater.cpp b/common/updater.cpp index fd02cab..b758b3a 100644 --- a/common/updater.cpp +++ b/common/updater.cpp @@ -55,7 +55,7 @@ void Updater::checkForNewVersion() file_ = new QTemporaryFile(); reqHdr.setValue("Host", host); - reqHdr.setValue("UserAgent", userAgent()); + reqHdr.setValue("User-Agent", userAgent()); connect(http_, SIGNAL(responseHeaderReceived(QHttpResponseHeader)), this, SLOT(responseReceived(QHttpResponseHeader)));