Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
--fail-with-body ?
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-users <curl-users_at_cool.haxx.se>
Date: Thu, 14 Jan 2021 10:23:56 +0100 (CET)
Hello,
One of the more frequently requested command line options that I can think of
that I've seen over the last few years, is a way to do --fail (-f) (that
returns an error on HTTP response codes >= 400) and still get the content
saved.
I've written up a first PR for --fail-with-body that offers this!
https://github.com/curl/curl/pull/6449
... could be subject for inclusion in curl 7.76.0...
Date: Thu, 14 Jan 2021 10:23:56 +0100 (CET)
Hello,
One of the more frequently requested command line options that I can think of
that I've seen over the last few years, is a way to do --fail (-f) (that
returns an error on HTTP response codes >= 400) and still get the content
saved.
I've written up a first PR for --fail-with-body that offers this!
https://github.com/curl/curl/pull/6449
... could be subject for inclusion in curl 7.76.0...
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://www.wolfssl.com/contact/ ----------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2021-01-14