curl-library
RE: liberal or strict?
From: Yehezkel Horowitz <horowity_at_checkpoint.com>
Date: Tue, 24 Apr 2012 10:03:47 +0300
Date: Tue, 24 Apr 2012 10:03:47 +0300
> Thanks everyone for your feedback. Just going for the reject-the-invalid case was also very simple, so this is what I just did and a change has been pushed.
Adding one more reason to use the strict option - Just imagine all the support mails that will claim curl to have a bug in case curl will accept the invalid format but the server will reject it...
Of course, there should be a clear error message (and return code) to help the embedder to understand his mistake.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-24