Module: kamailio
Branch: master
Commit: 05c7dfb9d71c8ada339bf68842823e09bf75e89e
URL:
https://github.com/kamailio/kamailio/commit/05c7dfb9d71c8ada339bf68842823e0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T22:23:39+02:00
utils: documentation for http_response_mode
---
Modified: modules/utils/doc/utils_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/05c7dfb9d71c8ada339bf68842823e0…
Patch:
https://github.com/kamailio/kamailio/commit/05c7dfb9d71c8ada339bf68842823e0…
---
diff --git a/modules/utils/doc/utils_admin.xml b/modules/utils/doc/utils_admin.xml
index d4a60b7..1c00eb1 100644
--- a/modules/utils/doc/utils_admin.xml
+++ b/modules/utils/doc/utils_admin.xml
@@ -93,6 +93,26 @@ modparam("utils", "http_query_timeout", 2)
</programlisting>
</example>
</section>
+ <section id="utils.p.http_response_mode">
+ <title><varname>http_response_mode</varname> (int)</title>
+ <para>
+ Control what part of the HTTP reponse is returned: only
+ first line (for value 0), or all response (for value 1).
+ </para>
+ <para>
+ <emphasis>
+ Default value is 0 (return only the first line).
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>http_response_mode</varname>
parameter</title>
+ <programlisting format="linespecific">
+...
+modparam("utils", "http_response_mode", 1)
+...
+ </programlisting>
+ </example>
+ </section>
<section id="utils.p.http_response_trim">
<title><varname>http_response_trim</varname> (int)</title>
<para>
@@ -113,7 +133,6 @@ modparam("utils", "http_response_trim", 1)
</programlisting>
</example>
</section>
-
<section id="utils.p.forward_active">
<title><varname>forward_active</varname> (int)</title>
<para>