# HG changeset patch # User Matthew Wild # Date 1522068758 -3600 # Node ID 01ed9eb111d4a3e61820db9bfa1b60b9f2c16159 # Parent 18e6d437003fe4f94862e5cb5b17065f81e34a4b mod_component_http: Fix headings in README diff -r 18e6d437003f -r 01ed9eb111d4 mod_component_http/README.markdown --- 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.