diff --git a/functions/curl.xml b/functions/curl.xml index 69958fd337..5974ccdc9b 100644 --- a/functions/curl.xml +++ b/functions/curl.xml @@ -1,5 +1,5 @@ - + CURL, Client URL Library Functions CURL @@ -302,6 +302,15 @@ curl_close ($ch); in some cases you must set this manually. + + + CURLOPT_SSL_VERIFYHOST: Pass a long if + cURL should verify the Common name of the peer certificate in the + SSL handshake. A value of 1 denotes that we should check for the + existence of the common name, a value of 2 denotes that we should + make sure it matches the provided hostname. + + CURLOPT_TIMECONDITION: Pass a long as a @@ -318,6 +327,13 @@ curl_close ($ch); option, or by default the TIMECOND_IFMODSINCE will be used. + + + CURLOPT_RETURNTRANSFER: Pass a non-zero + value if you want cURL to directly return the transfer instead + of printing it out directly. + + @@ -427,6 +443,49 @@ curl_close ($ch); + + + CURLOPT_PROXY: Give the name of the HTTP + proxy to tunnel requests through. + + + + + CURLOPT_INTERFACE: Pass the name of the + outgoing network interface to use. This can be an interface name, + an IP address or a host name. + + + + + CURLOPT_KRB4LEVEL: Pass the KRB4 (Kerberos + 4) security level. This anyone of the following strings (in + order from least powerful, to most powerful): 'clear', 'safe', + 'confidential', 'private'. If the string does not match one of + these, then 'private' is used. If you set this to NULL, + this disables KB4 security. KB4 security only works with FTP + transactions currently. + + + + + CURLOPT_HTTPHEADER: Pass an array of HTTP + header fields to set. + + + + + CURLOPT_QUOTE: Pass an array of FTP commands + to perform on the server prior to the FTP request. + + + + + CURLOPT_POSTQUOTE: Pass an array of FTP + commands to execute on the server, after the FTP request has been + performed. + +