]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
TODO: --fail-with-body perchance?
authorDaniel Stenberg <daniel@haxx.se>
Tue, 5 Jan 2021 08:36:10 +0000 (09:36 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 5 Jan 2021 08:36:10 +0000 (09:36 +0100)
docs/TODO

index c91bd93da2b4c579e0cb5426aaff0d42f7c81c54..70f1bec1a5fc9a10db182d166b5cf86999b78eb7 100644 (file)
--- a/docs/TODO
+++ b/docs/TODO
  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