|
@@ -716,7 +716,8 @@ modparam("http_client", "netinterface", "eth0")
|
|
<section id="http_client.p.response_headers">
|
|
<section id="http_client.p.response_headers">
|
|
<title><varname>response_headers</varname> (int)</title>
|
|
<title><varname>response_headers</varname> (int)</title>
|
|
<para>
|
|
<para>
|
|
- Set to 1 in order to store HTTP response headers.
|
|
|
|
|
|
+ Set to 1 in order to store HTTP response headers. A header value
|
|
|
|
+ can be retrieved with $httprhdr(name).
|
|
</para>
|
|
</para>
|
|
<para>
|
|
<para>
|
|
<emphasis>
|
|
<emphasis>
|
|
@@ -1031,7 +1032,7 @@ switch ($rc) {
|
|
</section>
|
|
</section>
|
|
</section>
|
|
</section>
|
|
<section>
|
|
<section>
|
|
- <title>Pseudovariables</title>
|
|
|
|
|
|
+ <title>Pseudo-Variables</title>
|
|
<section >
|
|
<section >
|
|
<title>
|
|
<title>
|
|
<function moreinfo="none">$curlerror(error)</function>
|
|
<function moreinfo="none">$curlerror(error)</function>
|
|
@@ -1044,6 +1045,15 @@ switch ($rc) {
|
|
http://curl.haxx.se/libcurl/c/libcurl-errors.html
|
|
http://curl.haxx.se/libcurl/c/libcurl-errors.html
|
|
</para>
|
|
</para>
|
|
</section>
|
|
</section>
|
|
|
|
+ <section >
|
|
|
|
+ <title>
|
|
|
|
+ <function moreinfo="none">$httprhdr(name)</function>
|
|
|
|
+ </title>
|
|
|
|
+ <para>
|
|
|
|
+ Return response header value. It requires response_headers parameter
|
|
|
|
+ to be set to 1.
|
|
|
|
+ </para>
|
|
|
|
+ </section>
|
|
</section>
|
|
</section>
|
|
<section>
|
|
<section>
|
|
<title>RPC Commands</title>
|
|
<title>RPC Commands</title>
|