svn: /phpdoc/en/trunk/reference/curl/functions/ curl-setopt.xml

From: Date: Fri, 23 Apr 2010 15:52:45 +0000
Subject: svn: /phpdoc/en/trunk/reference/curl/functions/ curl-setopt.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-6427@lists.php.net to get a copy of this message
bjori Fri, 23 Apr 2010 15:52:45 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=298382 Log: Mention in what "format" the headers should be # Patch by Patrick van Staveren <trick at vanstaveren.us> Changed paths: U phpdoc/en/trunk/reference/curl/functions/curl-setopt.xml Modified: phpdoc/en/trunk/reference/curl/functions/curl-setopt.xml =================================================================== --- phpdoc/en/trunk/reference/curl/functions/curl-setopt.xml 2010-04-23 15:29:07 UTC (rev 298381) +++ phpdoc/en/trunk/reference/curl/functions/curl-setopt.xml 2010-04-23 15:52:45 UTC (rev 298382) @@ -1062,7 +1062,10 @@ <row> <entry valign="top"><constant>CURLOPT_HTTPHEADER</constant></entry> <entry valign="top"> - An array of HTTP header fields to set. + An array of HTTP header fields to set, in the format + <code> + array('Content-type: text/plain', 'Content-length: 100') + </code> </entry> <entry valign="top"> </entry>

« previous php.doc.cvs (#6427) next »