diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2004-12-22 12:31:55 +0000 | 
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2004-12-22 12:31:55 +0000 | 
| commit | 3acda85c2b11f24c594e81c340509bda8db5eed1 (patch) | |
| tree | 4b2fbf061fde597911e616b885b19a02d3d7a40c | |
| parent | dbb69797cf0412b2725bbdb3f6624b4263178c48 (diff) | |
added CURLINFO_HTTP_CONNECTCODE
| -rw-r--r-- | docs/libcurl/curl_easy_getinfo.3 | 10 | 
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/libcurl/curl_easy_getinfo.3 b/docs/libcurl/curl_easy_getinfo.3 index 488e5cfc8..8325aafde 100644 --- a/docs/libcurl/curl_easy_getinfo.3 +++ b/docs/libcurl/curl_easy_getinfo.3 @@ -2,7 +2,7 @@  .\" nroff -man [file]  .\" $Id$  .\" -.TH curl_easy_getinfo 3 "14 Dec 2004" "libcurl 7.12.3" "libcurl Manual" +.TH curl_easy_getinfo 3 "22 Dec 2004" "libcurl 7.12.3" "libcurl Manual"  .SH NAME  curl_easy_getinfo - extract information from a curl handle  .SH SYNOPSIS @@ -27,7 +27,13 @@ The following information can be extracted:  Pass a pointer to a 'char *' to receive the last used effective URL.  .IP CURLINFO_RESPONSE_CODE  Pass a pointer to a long to receive the last received HTTP or FTP code. This -option was known as CURLINFO_HTTP_CODE in libcurl 7.10.7 and earlier. +option was known as CURLINFO_HTTP_CODE in libcurl 7.10.7 and earlier. This +will be zero if no server response code has been received. Note that a proxy's +CONNECT response should be read with \fICURLINFO_HTTP_CONNECTCODE\fP and not +this. +.IP CURLINFO_HTTP_CONNECTCODE +Pass a pointer to a long to receive the last received proxy response code to a +CONNECT request.  .IP CURLINFO_FILETIME  Pass a pointer to a long to receive the remote time of the retrieved  document. If you get -1, it can be because of many reasons (unknown, the  | 
