mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2025-10-26 10:52:21 +00:00
Fix bad request header (#472)
This commit is contained in:
@@ -190,7 +190,7 @@ static int curlGet(const FetchArgument &argument, FetchResult &result)
|
||||
curl_progress_data limit;
|
||||
limit.size_limit = global.maxAllowedDownloadSize;
|
||||
curl_set_common_options(curl_handle, new_url.data(), &limit);
|
||||
list = curl_slist_append(list, "Content-Type: application/json;charset='utf-8'");
|
||||
list = curl_slist_append(list, "Content-Type: application/json;charset=utf-8");
|
||||
if(argument.request_headers)
|
||||
{
|
||||
for(auto &x : *argument.request_headers)
|
||||
|
||||
Reference in New Issue
Block a user