On Sun, Nov 8, 2009, Daniel Stenberg wrote:
> On Sun, 8 Nov 2009, Drew Richardson wrote:
>
>> After doing some googling it seem that libcurl does not provide callbacks to
>> give cookies for a HTTP GET/POST or a callback with the returned cookies on
>> the response. Yes, I know I could manually add the cookies myself, then
>> manually parse the return, but libcurl already knows how to do this kind of
>> stuff, why reimplement it?
>
> Or you can let libcurl receive them and parse them and you can then get them
> from libcurl with COOKIELIST. Can you elaborate on your use case and why
> COOKIELIST isn't enough? Or perhaps put differently, what do you miss in the
> COOKIELIST interface?
COOKIELIST appears to do what I wanted. Sorry, I had my blinders on
and was only reading the setopt page and didn't look at the getinfo
page. Thanks for your help.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-08