pollita Tue Sep 7 15:33:45 2004 EDT
Modified files:
/phpdoc/en/appendices wrappers.xml
Log:
Document http/protocol_version context option and handling of chunked transfer
encoding
http://cvs.php.net/diff.php/phpdoc/en/appendices/wrappers.xml?r1=1.42&r2=1.43&ty=u
Index: phpdoc/en/appendices/wrappers.xml
diff -u phpdoc/en/appendices/wrappers.xml:1.42 phpdoc/en/appendices/wrappers.xml:1.43
--- phpdoc/en/appendices/wrappers.xml:1.42 Thu Sep 2 13:31:41 2004
+++ phpdoc/en/appendices/wrappers.xml Tue Sep 7 15:33:45 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.42 $ -->
+<!-- $Revision: 1.43 $ -->
<appendix id="wrappers">
<title>List of Supported Protocols/Wrappers</title>
<para>
@@ -155,6 +155,15 @@
Since PHP 4.3.0, the headers are available using
<function>stream_get_meta_data</function>.
</simpara>
+ <note>
+ <title>Transfer-Encoding: chunked</title>
+ <simpara>
+ As of PHP 5.1.0, if the remote server sends
+ <literal>Transfer-Encoding: chunked</literal> in the response
+ headers, PHP will automatically apply a chunked decode filter
+ to the content returned.
+ </simpara>
+ </note>
<simpara>
HTTP connections are read-only; you cannot write data or copy
files to an HTTP resource.
@@ -238,6 +247,13 @@
any other HTTP method supported by the remote server.
</entry>
<entry><constant>GET</constant></entry>
+ </row>
+ <row>
+ <entry><literal>protocol_version</literal> PHP >= 5.1.0</entry>
+ <entry>HTTP protocol version (typically <literal>1.0</literal>
+ or <literal>1.1</literal> to send with the request line.
+ </entry>
+ <entry><literal>1.0</literal></entry>
</row>
<row>
<entry><literal>header</literal></entry>