Browse code

http_client: docs - section title to get proper entry in toc

- bits of whitespacing fixing

(cherry picked from commit fadc0fc499fb57a763aa71a76b24cff152bbd927)

Daniel-Constantin Mierla authored on 18/12/2020 07:18:51 • Henning Westerholt committed on 21/12/2020 15:35:17
Showing 3 changed files
... ...
@@ -56,9 +56,8 @@
56 56
 	</copyright>
57 57
 	</bookinfo>
58 58
 	<toc></toc>
59
-	
59
+
60 60
 	<xi:include href="http_client_admin.xml"/>
61 61
 	<xi:include href="http_client_devel.xml"/>
62
-	
63
-	
62
+
64 63
 </book>
... ...
@@ -74,8 +74,7 @@
74 74
 		<title>External Libraries or Applications</title>
75 75
 		<para>
76 76
 		The following libraries or applications must be
77
-		installed before  
78
-		running &kamailio; with this module loaded:
77
+		installed before running &kamailio; with this module loaded:
79 78
 			<itemizedlist>
80 79
 			<listitem>
81 80
 			<para>
... ...
@@ -86,7 +85,7 @@
86 85
 		</para>
87 86
 	</section>
88 87
 	</section>
89
-	
88
+
90 89
 	<section>
91 90
 		<title>Parameters</title>
92 91
 		<section id="http_client.p.httpredirect">
... ...
@@ -297,7 +296,7 @@ modparam("http_client", "cipher_suites", "ecdhe_ecdsa_aes_128_gcm_sha_256,rsa_ae
297 296
 			<title><varname>verify_peer</varname> (int)</title>
298 297
 			<para>
299 298
 			If set to 0, TLS verification of the server certificate
300
-			is disabled. This means that the connection will get 
299
+			is disabled. This means that the connection will get
301 300
 			encrypted, but there's no authentication. There's no
302 301
 			proof that the transmission of data is to the host
303 302
 			that is meant to receive data.
... ...
@@ -324,7 +323,7 @@ modparam("http_client", "verify_peer", 1)
324 323
 			<title><varname>verify_host</varname> (int)</title>
325 324
 			<para>
326 325
 			If set to 0, domain verification of the server certificate
327
-			is disabled. This means that the connection will get 
326
+			is disabled. This means that the connection will get
328 327
 			encrypted but there is no check that data will be sent to the
329 328
 			host that is meant to receive it. Disable with caution.
330 329
 			</para>
... ...
@@ -535,11 +534,11 @@ modparam("http_client", "query_maxdatasize", 2048)
535 534
 				Overrides the default cipher_suite modparam.
536 535
 				</para></listitem>
537 536
 				<listitem><para>
538
-				<emphasis>timeout</emphasis> Timeout used for this connection. Overrides the 
537
+				<emphasis>timeout</emphasis> Timeout used for this connection. Overrides the
539 538
 				default connection_timeout for the module.
540 539
 				</para></listitem>
541 540
 				<listitem><para>
542
-				<emphasis>tlsversion</emphasis> TLS version used for this connection. Overrides the 
541
+				<emphasis>tlsversion</emphasis> TLS version used for this connection. Overrides the
543 542
 				default tlsversion for the module.
544 543
 				</para></listitem>
545 544
 				<listitem><para>
... ...
@@ -648,7 +647,7 @@ modparam("http_client", "config_file", "httpconnections.cfg)
648 647
 [authapiserver]
649 648
 url = https://api.runbo.example.com/v4.2/auth
650 649
 timeout = 1
651
-maxdatasize = 4 
650
+maxdatasize = 4
652 651
 tlsversion = TLSv1.2
653 652
 verify_peer = yes
654 653
 client_key = default_key.pem
... ...
@@ -10,11 +10,14 @@
10 10
 <!-- Module Developer's Guide -->
11 11
 
12 12
 <chapter>
13
-	
13
+
14 14
 	<title>&develguide;</title>
15 15
 	<section>
16
+	<title>Introduction</title>
17
+	<para>
16 18
 	This module provides a set of API functions that other modules can use in order to
17 19
 	integrate with HTTP services.
20
+	</para>
18 21
 	</section>
19 22
 	<section>
20 23
 	<title>Available Functions</title>
... ...
@@ -93,7 +96,7 @@
93 96
 			<function moreinfo="none">int http_query(msg, url, dest, post)</function>
94 97
 			</title>
95 98
 			<para>
96
-			Sends a HTTP GET or POST request to a given connection. If post data 
99
+			Sends a HTTP GET or POST request to a given connection. If post data
97 100
 			is defined, POST will be used, otherwise GET. The default settings
98 101
 			defined as module params of the http_client module will be used for
99 102
 			the connection.
... ...
@@ -144,7 +147,6 @@
144 147
 			</para>
145 148
 		</section>
146 149
 
147
-
148 150
 	</section>
149 151
 
150 152
 </chapter>