Re: [man-pages] Discrepancy between --fail-with-body and --fail
Daniel Stenberg via curl-users <[email protected]>
| Newsgroups | gmane.comp.web.curl.general |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 24 Apr 2024, Vincent MAILHOL wrote: > When replacing --fail by --fail-with-body in the script, the results remain > the same. Thus, me saying in my previous message that --fail and > --fail-with-body looks indeed similar and (3) is incorrect. > > Does that make sense, or am I missing something else? The exception mentioned for 401/407 is there because those response codes are used for authentication, so you need to mix in use of that to find the edge cases. Like: access an auth-protected HTTP resource and provide a user name but with the wrong password, and use --fail. Possibly try digest or NTLM or added complexity. -- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://curl.se/support.html -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.html