mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-21 15:18:51 -05:00
XEP-0329: Change example ids when they correspond to another request
This commit is contained in:
parent
bbaec1433f
commit
88660266b0
@ -103,7 +103,7 @@
|
||||
<iq type='get'
|
||||
from='juliet@capulet.com/chamber'
|
||||
to='romeo@montague.net/home'
|
||||
id='1234'>
|
||||
id='1235'>
|
||||
<query xmlns="urn:xmpp:fis:0" node="documents" />
|
||||
</iq>]]></example>
|
||||
<p>When replying with a list of files, the offering entity can choose to either reply with verbose information on the file using the file attributes defined by &xep0234; or it may reply only with the 'name' attribute, which is required and MUST be included in every response.</p>
|
||||
@ -112,7 +112,7 @@
|
||||
<iq type='result'
|
||||
from='romeo@montague.net/home'
|
||||
to='juliet@capulet.com/chamber'
|
||||
id='1234'>
|
||||
id='1235'>
|
||||
<query xmlns="urn:xmpp:fis:0" node="documents">
|
||||
<file xmlns='urn:xmpp:jingle:apps:file-transfer:4'>
|
||||
<name>test.txt</name>
|
||||
@ -133,14 +133,14 @@
|
||||
<iq type='get'
|
||||
from='juliet@capulet.com/chamber'
|
||||
to='romeo@montague.net/home'
|
||||
id='1234'>
|
||||
id='1236'>
|
||||
<query xmlns="urn:xmpp:fis:0" node="documents/test2.txt" />
|
||||
</iq>]]></example>
|
||||
<example caption='The offering entity responds with more information'><![CDATA[
|
||||
<iq type='result'
|
||||
from='romeo@montague.net/home'
|
||||
to='juliet@capulet.com/chamber'
|
||||
id='1234'>
|
||||
id='1236'>
|
||||
<query xmlns="urn:xmpp:fis:0" node="test2.txt">
|
||||
<file xmlns='urn:xmpp:jingle:apps:file-transfer:4'>
|
||||
<name>test2.txt</name>
|
||||
|
Loading…
Reference in New Issue
Block a user