Update doc

This commit is contained in:
Tatsuhiro Tsujikawa 2013-10-31 02:13:51 +09:00
parent e201e08a45
commit 5475083215
5 changed files with 13 additions and 54 deletions

View File

@ -1504,19 +1504,8 @@ Functions
``NULL``. That is, if the *nv* contains N name/value pairs,
``nv[2*N]`` must be ``NULL``.
The *nv* must include following name/value pairs:
``:method``
HTTP method (e.g., ``GET``, ``POST``, ``HEAD``, etc)
``:scheme``
URI scheme (e.g., ``https``)
``:path``
Absolute path and parameters of this request (e.g., ``/foo``,
``/foo;bar;haz?h=j&y=123``)
``:host``
The hostport portion of the URI for this request (e.g.,
``example.org:443``). This is the same as the HTTP "Host" header
field.
HTTP/2.0 specification has requirement about header fields in the
request HEADERS. See the specification for more details.
This function creates copies of all name/value pairs in *nv*. It
also lower-cases all names in *nv*.
@ -1587,10 +1576,8 @@ Functions
``NULL``. That is, if the *nv* contains N name/value pairs,
``nv[2*N]`` must be ``NULL``.
The *nv* must include following name/value pairs:
``:status``
HTTP status code (e.g., ``200`` or ``200 OK``)
HTTP/2.0 specification has requirement about header fields in the
response HEADERS. See the specification for more details.
This function creates copies of all name/value pairs in *nv*. It
also lower-cases all names in *nv*.

View File

@ -1965,20 +1965,8 @@ contains a pointer to the name string and <tt class="docutils literal"><span cla
pointer to the value string. The one beyond last value must be
<tt class="docutils literal"><span class="pre">NULL</span></tt>. That is, if the <em>nv</em> contains N name/value pairs,
<tt class="docutils literal"><span class="pre">nv[2*N]</span></tt> must be <tt class="docutils literal"><span class="pre">NULL</span></tt>.</p>
<p>The <em>nv</em> must include following name/value pairs:</p>
<dl class="docutils">
<dt><tt class="docutils literal"><span class="pre">:method</span></tt></dt>
<dd>HTTP method (e.g., <tt class="docutils literal"><span class="pre">GET</span></tt>, <tt class="docutils literal"><span class="pre">POST</span></tt>, <tt class="docutils literal"><span class="pre">HEAD</span></tt>, etc)</dd>
<dt><tt class="docutils literal"><span class="pre">:scheme</span></tt></dt>
<dd>URI scheme (e.g., <tt class="docutils literal"><span class="pre">https</span></tt>)</dd>
<dt><tt class="docutils literal"><span class="pre">:path</span></tt></dt>
<dd>Absolute path and parameters of this request (e.g., <tt class="docutils literal"><span class="pre">/foo</span></tt>,
<tt class="docutils literal"><span class="pre">/foo;bar;haz?h=j&amp;y=123</span></tt>)</dd>
<dt><tt class="docutils literal"><span class="pre">:host</span></tt></dt>
<dd>The hostport portion of the URI for this request (e.g.,
<tt class="docutils literal"><span class="pre">example.org:443</span></tt>). This is the same as the HTTP &#8220;Host&#8221; header
field.</dd>
</dl>
<p>HTTP/2.0 specification has requirement about header fields in the
request HEADERS. See the specification for more details.</p>
<p>This function creates copies of all name/value pairs in <em>nv</em>. It
also lower-cases all names in <em>nv</em>.</p>
<p>The string in <em>nv</em> must be NULL-terminated. Use
@ -2045,11 +2033,8 @@ contains a pointer to the name string and <tt class="docutils literal"><span cla
pointer to the value string. The one beyond last value must be
<tt class="docutils literal"><span class="pre">NULL</span></tt>. That is, if the <em>nv</em> contains N name/value pairs,
<tt class="docutils literal"><span class="pre">nv[2*N]</span></tt> must be <tt class="docutils literal"><span class="pre">NULL</span></tt>.</p>
<p>The <em>nv</em> must include following name/value pairs:</p>
<dl class="docutils">
<dt><tt class="docutils literal"><span class="pre">:status</span></tt></dt>
<dd>HTTP status code (e.g., <tt class="docutils literal"><span class="pre">200</span></tt> or <tt class="docutils literal"><span class="pre">200</span> <span class="pre">OK</span></tt>)</dd>
</dl>
<p>HTTP/2.0 specification has requirement about header fields in the
response HEADERS. See the specification for more details.</p>
<p>This function creates copies of all name/value pairs in <em>nv</em>. It
also lower-cases all names in <em>nv</em>.</p>
<p>If <em>data_prd</em> is not <tt class="docutils literal"><span class="pre">NULL</span></tt>, it provides data which will be sent

View File

@ -1783,19 +1783,8 @@
<span class="cm"> * ``NULL``. That is, if the |nv| contains N name/value pairs,</span>
<span class="cm"> * ``nv[2*N]`` must be ``NULL``.</span>
<span class="cm"> *</span>
<span class="cm"> * The |nv| must include following name/value pairs:</span>
<span class="cm"> *</span>
<span class="cm"> * ``:method``</span>
<span class="cm"> * HTTP method (e.g., ``GET``, ``POST``, ``HEAD``, etc)</span>
<span class="cm"> * ``:scheme``</span>
<span class="cm"> * URI scheme (e.g., ``https``)</span>
<span class="cm"> * ``:path``</span>
<span class="cm"> * Absolute path and parameters of this request (e.g., ``/foo``,</span>
<span class="cm"> * ``/foo;bar;haz?h=j&amp;y=123``)</span>
<span class="cm"> * ``:host``</span>
<span class="cm"> * The hostport portion of the URI for this request (e.g.,</span>
<span class="cm"> * ``example.org:443``). This is the same as the HTTP &quot;Host&quot; header</span>
<span class="cm"> * field.</span>
<span class="cm"> * HTTP/2.0 specification has requirement about header fields in the</span>
<span class="cm"> * request HEADERS. See the specification for more details.</span>
<span class="cm"> *</span>
<span class="cm"> * This function creates copies of all name/value pairs in |nv|. It</span>
<span class="cm"> * also lower-cases all names in |nv|.</span>
@ -1876,10 +1865,8 @@
<span class="cm"> * ``NULL``. That is, if the |nv| contains N name/value pairs,</span>
<span class="cm"> * ``nv[2*N]`` must be ``NULL``.</span>
<span class="cm"> *</span>
<span class="cm"> * The |nv| must include following name/value pairs:</span>
<span class="cm"> *</span>
<span class="cm"> * ``:status``</span>
<span class="cm"> * HTTP status code (e.g., ``200`` or ``200 OK``)</span>
<span class="cm"> * HTTP/2.0 specification has requirement about header fields in the</span>
<span class="cm"> * response HEADERS. See the specification for more details.</span>
<span class="cm"> *</span>
<span class="cm"> * This function creates copies of all name/value pairs in |nv|. It</span>
<span class="cm"> * also lower-cases all names in |nv|.</span>

Binary file not shown.

File diff suppressed because one or more lines are too long