mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 16:23:35 +01:00
http: Specify expected mime types in downloads.
This commit is contained in:
1 parent
4c51f4761d
commit
afcf6d8e65
6 files changed
+28
-12
No files matched your search
@@ -100,7 +100,8 @@ bool GameManager::DownloadAndInstall(std::string storeFileUrl) {
|
||||
}
|
||||
|
||||
Path filename = GetTempFilename();
|
||||
curDownload_ = g_DownloadManager.StartDownload(storeFileUrl, filename);
|
||||
const char *acceptMime = "application/zip, application/x-cso, application/x-iso9660-image, application/octet-stream; q=0.9, */*; q=0.8";
|
||||
curDownload_ = g_DownloadManager.StartDownload(storeFileUrl, filename, acceptMime);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user