cvs: phpdoc /en/functions curl.xml

From: Date: Fri, 08 Feb 2002 23:08:48 +0000
Subject: cvs: phpdoc /en/functions curl.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969342111@lists.php.net to get a copy of this message
torben Fri Feb 8 18:08:48 2002 EDT Modified files: /phpdoc/en/functions curl.xml Log: Updated CURLOPT_CUSTOMREQUEST information to explain a bit more fully how it should be used. Index: phpdoc/en/functions/curl.xml diff -u phpdoc/en/functions/curl.xml:1.26 phpdoc/en/functions/curl.xml:1.27 --- phpdoc/en/functions/curl.xml:1.26 Sat Feb 2 10:35:55 2002 +++ phpdoc/en/functions/curl.xml Fri Feb 8 18:08:48 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.26 $ --> +<!-- $Revision: 1.27 $ --> <reference id="ref.curl"> <title>CURL, Client URL Library Functions</title> <titleabbrev>CURL</titleabbrev> @@ -416,9 +416,13 @@ <listitem> <para> <parameter>CURLOPT_CUSTOMREQUEST</parameter>: Pass a string to - be used instead of GET or HEAD when doing an HTTP request. - This is useful for doing DELETE or another, more obscure, HTTP - request. + be used instead of <literal>GET</literal> or + <literal>HEAD</literal> when doing an HTTP request. This is + useful for doing <literal>DELETE</literal> or other, more + obscure, HTTP requests. Valid values are things like + <literal>GET</literal>, <literal>POST</literal>, and so on; + i.e. do not enter a whole HTTP request line here. For instance, + entering 'GET /index.html HTTP/1.0\r\n\r\n' would be incorrect. <note> <simpara> Don't do this without making sure your server supports the

« previous php.doc (#969342111) next »