Module: kamailio
Branch: master
Commit: f7e0a189362cc9f5ab8962868496c4b49b72a76c
URL: 
https://github.com/kamailio/kamailio/commit/f7e0a189362cc9f5ab8962868496c4b49b72a76c

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2024-04-07T09:33:04+02:00

http_client: docs for modparam response_headers

---

Modified: src/modules/http_client/doc/http_client_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/f7e0a189362cc9f5ab8962868496c4b49b72a76c.diff
Patch: 
https://github.com/kamailio/kamailio/commit/f7e0a189362cc9f5ab8962868496c4b49b72a76c.patch

---

diff --git a/src/modules/http_client/doc/http_client_admin.xml 
b/src/modules/http_client/doc/http_client_admin.xml
index 2fb918d5997..f5eb42f7b91 100644
--- a/src/modules/http_client/doc/http_client_admin.xml
+++ b/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>

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to [email protected]

Reply via email to