Skip to content

Commit f033dcf

Browse files
committed
Fix header mismatch
1 parent 4f0d121 commit f033dcf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Source/Core/Common/HttpRequest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ HttpRequest::Response HttpRequest::Impl::Fetch(const std::string& url, Method me
279279
list = curl_slist_append(list, (name + ": " + *value).c_str());
280280
}
281281

282-
list = curl_slist_append(list, "User-Agent: Dolphin/1.0");
282+
list = curl_slist_append(list, "User-Agent: Dolphin-PPL/1.0");
283283

284284
curl_easy_setopt(m_curl.get(), CURLOPT_HTTPHEADER, list);
285285

Source/Core/DolphinQt/ProjectPlus/DownloadWorker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ void DownloadWorker::startDownload()
2525
httpRequest.FollowRedirects();
2626

2727
Common::HttpRequest::Headers headers;
28-
headers["User-Agent"] = "Dolphin-MPN/1.0";
28+
headers["User-Agent"] = "Dolphin-PPL/1.0";
2929

3030
// Perform the GET request
3131
auto response = httpRequest.Get(url.toStdString(), headers);

0 commit comments

Comments
 (0)