diff options
author | Michael Kaufmann <mail@michael-kaufmann.ch> | 2016-09-22 22:15:13 +0200 |
---|---|---|
committer | Michael Kaufmann <mail@michael-kaufmann.ch> | 2016-09-22 22:22:31 +0200 |
commit | e9e536619333b0ebd1b096be5c27a39c78e812c5 (patch) | |
tree | 44c39aad0c5acc5f0d330653ac214c274afdef38 /lib/urldata.h | |
parent | d1f1c857ad559eafef9373621d30174c046261ef (diff) |
New libcurl option to keep sending on error
Add the new option CURLOPT_KEEP_SENDING_ON_ERROR to control whether
sending the request body shall be completed when the server responds
early with an error status code.
This is suitable for manual NTLM authentication.
Reviewed-by: Jay Satiro
Closes https://github.com/curl/curl/pull/904
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index d5efe2a97..fd9870e26 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1611,6 +1611,7 @@ struct UserDefined { bool ftp_use_port; /* use the FTP PORT command */ bool hide_progress; /* don't use the progress meter */ bool http_fail_on_error; /* fail on HTTP error codes >= 400 */ + bool http_keep_sending_on_error; /* for HTTP status codes >= 300 */ bool http_follow_location; /* follow HTTP redirects */ bool http_transfer_encoding; /* request compressed HTTP transfer-encoding */ bool http_disable_hostname_check_before_authentication; |