Add fake request class for cached responses.

This commit is contained in:
Henrik Rydgård committed 2025-01-23 13:02:06 +01:00
1 parent c3cc3da8fe
commit e4d08407ab
6 files changed
+23 -9

No files matched your search

+1 -1
View File
@@ -328,7 +328,7 @@ void StartInfraJsonDownload() {
INFO_LOG(Log::sceNet, "json is already being downloaded");
}
const char *acceptMime = "application/json, text/*; q=0.9, */*; q=0.8";
g_infraDL = g_DownloadManager.StartDownload("http://metadata.ppsspp.org/infra-dns.json", Path(), http::ProgressBarMode::NONE, acceptMime);
g_infraDL = g_DownloadManager.StartDownload("http://metadata.ppsspp.org/infra-dns.json", Path(), http::RequestFlags::Default, acceptMime);
}
bool PollInfraJsonDownload(std::string *jsonOutput) {