cvs: phpdoc /en/appendices wrappers.xml
| From: | Sara Golemon | Date: | Mon, 07 Apr 2003 23:12:38 +0000 |
| Subject: | cvs: phpdoc /en/appendices wrappers.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969352492@lists.php.net to get a copy of this message | ||
pollita Mon Apr 7 19:12:38 2003 EDT
Modified files:
/phpdoc/en/appendices wrappers.xml
Log:
Document Context options for http(s) wrapper
Index: phpdoc/en/appendices/wrappers.xml
diff -u phpdoc/en/appendices/wrappers.xml:1.11 phpdoc/en/appendices/wrappers.xml:1.12
--- phpdoc/en/appendices/wrappers.xml:1.11 Mon Mar 31 16:42:25 2003
+++ phpdoc/en/appendices/wrappers.xml Mon Apr 7 19:12:38 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<appendix id="wrappers">
<title>List of Supported Protocols/Wrappers</title>
<para>
@@ -50,6 +50,42 @@
have compiled in support for OpenSSL.
</simpara>
</note>
+ <para>
+ <table>
+ <title>Context options</title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Usage</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry><literal>method</literal></entry>
+ <entry><constant>GET</constant> or <constant>POST</constant>
+ (defaults to <constant>GET</constant>).
+ </entry>
+ </row>
+ <row>
+ <entry><literal>header</literal></entry>
+ <entry>Additional headers to be sent during request. Values
+ in this option will override other values (such as
+ <literal>User-agent:</literal>, <literal>Host:</literal>,
+ and <literal>Authentication:</literal>.
+ </entry>
+ </row>
+ <row>
+ <entry><literal>content</literal></entry>
+ <entry>
+ Additional data to be sent after the headers. Typically used
+ with POST requests.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </para>
</section>
<section id="wrappers.ftp">