On Sun, May 04, 2014 at 09:32:18AM +0200, Fabian Keil wrote:
> Recently a script [0] I infrequently use stopped working because
> curl had been configured without cookie support and thus the --cookie
> and --cookie-jar options were silently ignored.
> 
> Obviously that was my mistake, but I think it would be preferable
> if the options were rejected with a clear error message and return
> code.
> 
> It certainly would have helped me figure out the problem more
> quickly.
> 
> Any opinions about this?

All the cookie options return CURLE_UNKNOWN_OPTION when set from
curl_easy_setopt, in the case when they've been disabled. You are checking that
return code, aren't you?

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to