mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Use the new function in patched naett to update user agent
This commit is contained in:
parent
9535b16740
commit
ac6301db47
1 changed files with 1 additions and 0 deletions
|
@ -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()));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue