Mercurial > prosody-modules
annotate mod_jid_prep/README.wiki @ 1782:29f3d6b7ad16
Import wiki pages
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 24 Aug 2015 16:43:56 +0200 |
| parents | |
| children |
| rev | line source |
|---|---|
| 1782 | 1 #summary Implement XEP-xxxx: JID prep for clients |
| 2 #labels Stage-Alpha | |
| 3 | |
| 4 = Introduction = | |
| 5 | |
| 6 This is a plugin that implements the JID prep protocol defined in http://xmpp.org/extensions/inbox/jidprep.html | |
| 7 | |
| 8 = Details = | |
| 9 | |
| 10 JID prep requests can happen over XMPP using the protocol defined in the document linked above, or alternatively over HTTP. Simply request: | |
| 11 | |
| 12 {{{ | |
| 13 http://server:5280/jid_prep/USER@HOST | |
| 14 }}} | |
| 15 | |
| 16 The result will be the stringprepped JID, or a 400 Bad Request if the given JID is invalid. | |
| 17 | |
| 18 = Compatibility = | |
| 19 | |
| 20 || 0.9 || Works || |
