changeset 3801 | ed5d7586a61e |
parent 3800 | d1ad10b76b00 |
child 3804 | cfa00eea896f |
--- a/mod_rest/README.markdown Mon Dec 30 05:14:49 2019 +0100 +++ b/mod_rest/README.markdown Mon Dec 30 05:17:18 2019 +0100 @@ -82,6 +82,9 @@ To accept the stanza without returning a reply, respond with HTTP status code `202` or `204`. +HTTP status codes in the `4xx` and `5xx` range are mapped to an +appropriate stanza error. + For full control over the response, set the `Content-Type` header to `application/xmpp+xml` and return an XMPP stanza as an XML snippet.