cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: getting/setting cookies

From: Wei Weng <wweng_at_kencast.com>
Date: Fri, 17 Dec 2004 10:55:20 -0500

Linus Nielsen Feltzing wrote:
> Daniel Stenberg wrote:
>
>> curl_easy_getinfo() - CURLINFO_COOKIELIST to get a curl_slist with all
>> known cookies (netscape/mozilla cookie file formatted)
>>
>> curl_easy_setopt() - CURLOPT_COOKIELIST to set a list of cookies
>> (using the same format as above or HTTP-header style - both are
>> supported)
>
>
> I'd also like a way to get a single cookie by name.\
That can be done by iterating through the curl_slist? I don't think we
should complicate the API by adding on all the bells and whistles.

Wei
Received on 2004-12-17