Name
easy:GetInfo_Response_Code -- get the last response code
Synopsis
codep = easy:GetInfo_Response_Code()
Function
Returns the last received HTTP, FTP or SMTP response code. This option was previously known as #CURLINFO_HTTP_CODE in libcurl 7.10.7 and earlier. The stored value will be zero if no server response code has been received. Note that a proxy's CONNECT response should be read with #CURLINFO_HTTP_CONNECTCODE and not this.

Support for SMTP responses added in 7.25.0.

Inputs
none

Results
codep
output value

Show TOC