Skip to content
Snippets Groups Projects
Commit 47268a9b authored by ale's avatar ale
Browse files

actually send content-type header

parent 99d951ff
Branches
No related tags found
No related merge requests found
......@@ -183,7 +183,7 @@ int auth_client_authenticate(auth_client_t ac,
curl_easy_setopt(ac->c, CURLOPT_POSTFIELDSIZE, form.size);
// Set request headers.
curl_slist_append(headers, "Content-Type: application/x-form-www-urlencoded");
headers = curl_slist_append(headers, "Content-Type: application/x-www-form-urlencoded");
curl_easy_setopt(ac->c, CURLOPT_HTTPHEADER, headers);
// Iterate over the known servers. We create a new response buffer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment