mirror of
https://github.com/curl/curl.git
synced 2026-05-16 13:26:22 +03:00
CURLINFO_RESPONSE_CODE replaces CURLINFO_HTTP_CODE
This commit is contained in:
parent
d00e4a377b
commit
5974309d10
4 changed files with 8 additions and 4 deletions
|
|
@ -44,7 +44,7 @@ struct
|
|||
} variables[14] =
|
||||
{
|
||||
{"curl_url_effective", CURLINFO_EFFECTIVE_URL, writeenv_STRING},
|
||||
{"curl_http_code", CURLINFO_HTTP_CODE, writeenv_LONG},
|
||||
{"curl_http_code", CURLINFO_RESPONSE_CODE, writeenv_LONG},
|
||||
{"curl_time_total", CURLINFO_TOTAL_TIME, writeenv_DOUBLE},
|
||||
{"curl_time_namelookup", CURLINFO_NAMELOOKUP_TIME, writeenv_DOUBLE},
|
||||
{"curl_time_connect", CURLINFO_CONNECT_TIME, writeenv_DOUBLE},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue