Name
easy:SetOpt_Keep_Sending_On_Error -- keep sending on early HTTP response >= 300
Synopsis
easy:SetOpt_Keep_Sending_On_Error(keep_sending)
Function
A numeric parameter set to 1 tells the library to keep sending the request body if the HTTP code returned is equal to or larger than 300. The default action would be to stop sending and close the stream or connection.

This option is suitable for manual NTLM authentication, i.e. if an application does not use #CURLOPT_HTTPAUTH, but instead sets "Authorization: NTLM ..." headers manually using #CURLOPT_HTTPHEADER.

Most applications do not need this option.

Inputs
keep_sending
input value

Show TOC