cURL / Mailing Lists / curl-library / Single Mail


Re: libcurl does not update cookie

From: Daniel Stenberg <>
Date: Fri, 22 May 2015 16:22:43 +0200 (CEST)

On Fri, 22 May 2015, Alexander Dyagilev wrote:

>> This means that you UNCONDITIONALLY send that header in the request. You
>> wanted it, you got it. libcurl passes along what you asked it to pass
>> along.
> |curl_easy_setopt(m_curl, CURLOPT_COOKIE, "test_cookie_2=base_value2;");

Right, but that's just a shortcut for doing the same thing. It adds that to
the request, it does not add the cookie to the internal cookie storage. You
however can use CURLOPT_COOKIELIST for that.

List admin:
Received on 2015-05-22