From e269785cf1ce27932ded93186555e51324ceed7f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 5 Jan 2021 09:36:10 +0100 Subject: TODO: --fail-with-body perchance? --- docs/TODO | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/TODO b/docs/TODO index c91bd93da..70f1bec1a 100644 --- a/docs/TODO +++ b/docs/TODO @@ -162,6 +162,7 @@ 18.19 expand ~/ in config files 18.20 host name sections in config files 18.21 retry on the redirected-to URL + 18.22 --fail-with-body 18.23 Set the modification date on an uploaded file 18.24 Use multiple parallel transfers for a single download 18.25 Prevent terminal injection when writing to terminal @@ -1151,6 +1152,14 @@ that doesn't exist on the server, just like --ftp-create-dirs. See https://github.com/curl/curl/issues/5462 +18.22 --fail-with-body + + Lots of users who want --fail still want the response body saved as well - + which --fail doesn't offer. The current solution for users is to use + --write-out with %{response_code} and script the missing logic, but adding a + --fail-with-body option could be an easier way for users without requiring + external conditional checks. + 18.23 Set the modification date on an uploaded file For SFTP and possibly FTP, curl could offer an option to set the -- cgit v1.2.1