mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 10:12:19 -05:00
XEP-0156: The XRD host-meta file is REQUIRED.
This commit is contained in:
parent
837617b9e7
commit
20d8e4abbe
@ -25,6 +25,12 @@
|
||||
&hildjj;
|
||||
&stpeter;
|
||||
&lance;
|
||||
<revision>
|
||||
<version>1.1.2</version>
|
||||
<date>2016-06-07</date>
|
||||
<initials>XSF Editor: ssw</initials>
|
||||
<remark><p>Clarify that the XML version of the XRD document is required by the RFC and the JSON version is optional.</p></remark>
|
||||
</revision>
|
||||
<revision>
|
||||
<version>1.1.1</version>
|
||||
<date>2016-06-06</date>
|
||||
@ -173,6 +179,7 @@ _xmppconnect IN TXT "_xmpp-client-websocket=wss://web.example.com:443/ws"
|
||||
|
||||
<section2 topic='Examples' anchor='httpexamples'>
|
||||
<p>The following examples show two host-meta link records: the first indicates support for the XMPP Over BOSH connection method defined in <cite>XEP-0124</cite> and <cite>XEP-0206</cite> and the second indicates support for the XMPP Over WebSocket connection method defined in <cite>draft-ietf-xmpp-websocket</cite>.</p>
|
||||
<p>As specified in <cite>RFC 6120</cite> §3, support for the XML encoding of the host-meta resource is REQUIRED while alternative representations such as JSON are OPTIONAL.</p>
|
||||
<example caption='Result for /.well-known/host-meta'><![CDATA[<?xml version='1.0' encoding=utf-8'?>
|
||||
<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'>
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user