Browse Source

http_client: docs for modparam response_headers

Daniel-Constantin Mierla 1 năm trước cách đây
mục cha
commit
f7e0a18936
1 tập tin đã thay đổi với 19 bổ sung0 xóa
  1. 19 0
      src/modules/http_client/doc/http_client_admin.xml

+ 19 - 0
src/modules/http_client/doc/http_client_admin.xml

@@ -709,6 +709,25 @@ http_follow_redirect = no
 				<programlisting format="linespecific">
 ...
 modparam("http_client", "netinterface", "eth0")
+...
+				</programlisting>
+			</example>
+		</section>
+		<section id="http_client.p.response_headers">
+			<title><varname>response_headers</varname> (int)</title>
+			<para>
+			Set to 1 in order to store HTTP response headers.
+			</para>
+			<para>
+			<emphasis>
+				Default value is 0.
+			</emphasis>
+			</para>
+			<example>
+			<title>Set <varname>response_headers</varname> parameter</title>
+				<programlisting format="linespecific">
+...
+modparam("http_client", "response_headers", 1)
 ...
 				</programlisting>
 			</example>