mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-21 23:28:51 -05:00
to/from swap in examples 9 and 10
This commit is contained in:
parent
78c70c622e
commit
51dfba1bee
16
xep-0065.xml
Normal file → Executable file
16
xep-0065.xml
Normal file → Executable file
@ -293,9 +293,21 @@
|
||||
]]></example>
|
||||
<p>If the Requester does not have permissions to initiate bytestreams on the Proxy for whatever reason (e.g., a proxy implementation might enable administrators to ban JIDs or domains from using the Proxy), the Proxy MUST return a &forbidden; error to the Requester.</p>
|
||||
<example caption='Requester is Forbidden to use Proxy'><![CDATA[
|
||||
<iq from='requester@example.com/foo'
|
||||
<iq to='streamer.example.com'
|
||||
id='uj2c15z9'
|
||||
to='streamer.example.com'
|
||||
to='requester@example.com/foo'
|
||||
type='error'>
|
||||
<error type='auth'>
|
||||
<forbidden
|
||||
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
|
||||
</error>
|
||||
</iq>
|
||||
]]></example>
|
||||
<p>If the Proxy is unable to act as a StreamHost, the Proxy MUST return an error to the Requester, which SHOULD be ¬allowed;.</p>
|
||||
<example caption='Proxy is Unable to Act as a StreamHost'><![CDATA[
|
||||
<iq to='streamer.example.com'
|
||||
id='uj2c15z9'
|
||||
to='requester@example.com/foo'
|
||||
type='error'>
|
||||
<error type='auth'>
|
||||
<forbidden
|
||||
|
Loading…
Reference in New Issue
Block a user