TODO: --fail-with-body perchance?

This commit is contained in:
Daniel Stenberg 2021-01-05 09:36:10 +01:00
Родитель df1240ccac
Коммит e269785cf1
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 5CC908FDB71E12C2
1 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -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