mirror of
https://github.com/curl/curl.git
synced 2026-08-24 22:43:38 +03:00
curl: add --fail-with-body
Prevent both --fail and --fail-with-body on the same command line. Verify with test 349, 360 and 361. Closes #6449
This commit is contained in:
parent
c386a0df44
commit
8a964cb217
13 changed files with 179 additions and 14 deletions
|
|
@ -118,6 +118,7 @@ struct OperationConfig {
|
|||
bool use_ascii; /* select ascii or text transfer */
|
||||
bool autoreferer; /* automatically set referer */
|
||||
bool failonerror; /* fail on (HTTP) errors */
|
||||
bool failwithbody; /* fail on (HTTP) errors but still store body */
|
||||
bool show_headers; /* show headers to data output */
|
||||
bool no_body; /* don't get the body */
|
||||
bool dirlistonly; /* only get the FTP dir list */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue