--- a/mod_component_http/README.markdown Mon Mar 26 13:49:13 2018 +0100
+++ b/mod_component_http/README.markdown Mon Mar 26 13:52:38 2018 +0100
@@ -32,7 +32,7 @@
```
Configuration
--------------
+=============
Option Description
------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------------------
@@ -40,10 +40,10 @@
component\_post\_stanzas A list of stanza types to forward over HTTP. Defaults to `{ "message" }`.
Details
--------
+=======
Requests
-========
+--------
Each received stanza is converted into a JSON object, and submitted to `component_post_url` using a HTTP POST request.
@@ -64,7 +64,7 @@
Responses
-=========
+---------
If you wish to respond to a stanza, you may include a reply when you respond to the HTTP request.
@@ -80,7 +80,7 @@
sent by components must have a 'to' and 'from'.
Presence
-========
+--------
By default the module automatically handles presence to provide an always-on component, that automatically accepts subscription requests.
@@ -89,6 +89,6 @@
Compatibility
--------------
+=============
Should work with all versions of Prosody from 0.9 upwards.