Fix bad request header (#472)

This commit is contained in:
xiaoxinw authored and GitHub committed 2022-04-08 05:11:23 -05:00
1 parent ce8d2bd0f1
commit a24cb7c00a
1 file changed
+1 -1
+1 -1
View File
@@ -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)