Synchronize MSI download User-Agent
This commit is contained in:
parent
c25cf09b9a
commit
9f119e3182
@ -463,7 +463,7 @@ bool wxUpdCheckThread::DownloadUpdatePackage()
|
||||
const wxString scheme = url.GetScheme();
|
||||
if (scheme == wxT("http") || scheme == wxT("https")) {
|
||||
wxHTTP &http = (wxHTTP&)url.GetProtocol();
|
||||
http.SetHeader(wxS("User-Agent"), wxS("Updater/") wxS(PRODUCT_VERSION_STR));
|
||||
http.SetHeader(wxS("User-Agent"), wxS("Updater-") wxT(PRODUCT_CFG_APPLICATION) wxS("/") wxS(PRODUCT_VERSION_STR));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user