Document Context options for http(s) wrapper

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@122795 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Sara Golemon 2003-04-07 23:12:38 +00:00
parent 59071ec3b5
commit b4ed63889a

View file

@ -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">