mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 22:40:29 +02:00
Use the new function in patched naett to update user agent
This commit is contained in:
1 parent
9535b16740
commit
ac6301db47
1 file changed
+1
@@ -27,6 +27,7 @@ void HTTPSDownload::Start() {
|
||||
std::vector<naettOption *> options;
|
||||
options.push_back(naettMethod(method_ == RequestMethod::GET ? "GET" : "POST"));
|
||||
options.push_back(naettHeader("Accept", acceptMime_));
|
||||
options.push_back(naettUserAgent(userAgent_.c_str()));
|
||||
if (!postMime_.empty()) {
|
||||
options.push_back(naettHeader("Content-Type", postMime_.c_str()));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user