curl-library
Re: Making lack of cookie support more obvious
Date: Mon, 5 May 2014 16:40:18 +0200
Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Sun, 4 May 2014, Fabian Keil wrote:
>
> > I'd prefer it to fail after checking $? (bad_news() is a die() wrapper), but
> > it actually failed in die_unless_page_contains_pattern() and thus it looked
> > like the server changed the login procedure (again).
>
> Are you suggesting a patch similar to this (see attachment)?
Yes, but in addition to the message I think curl should also exit
with CURLE_NOT_BUILT_IN without actually making the request.
I haven't tested the patch, but it looks to me like curl would still
make the request, ignore cookies and possibly exit with CURLE_OK.
Fabian
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- application/pgp-signature attachment: signature.asc