mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 18:22:24 -05:00
moved sentence to reduce confusion
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@2477 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
4563dd17f3
commit
9fc5315295
@ -86,7 +86,7 @@ Content-Length: 104
|
||||
</section1>
|
||||
|
||||
<section1 topic="Session Creation Response" anchor='create'>
|
||||
<p>The connection manager SHOULD include an 'xmpp:version' attribute (qualified by the 'urn:xmpp:xbosh' namespace) and a <stream:features/> element (qualified by the 'http://etherx.jabber.org/streams' namespace) in a response as soon as they are available, either in its session creation response, or (if it has not yet received them from the XMPP server) in any subsequent response. If no <stream:features/> element is included in the connection manager's session creation response, then the client SHOULD send empty request elements until it receives a response containing a <stream:features/> element.</p>
|
||||
<p>The connection manager SHOULD include an 'xmpp:version' attribute (qualified by the 'urn:xmpp:xbosh' namespace) and a <stream:features/> element (qualified by the 'http://etherx.jabber.org/streams' namespace) in a response as soon as they are available, either in its session creation response, or (if it has not yet received them from the XMPP server) in any subsequent response.</p>
|
||||
<p>Note: The same procedure applies to the <em>obsolete</em> XMPP-specific 'authid' attribute of the BOSH <body/> element, which contains the value of the XMPP stream ID generated by the XMPP server. This value is needed only by legacy XMPP clients in order to complete digest authentication using the <em>obsolete</em> &xep0078; protocol. <note>Separate 'sid' and 'authid' attributes are required because the connection manager is not necessarily part of a single XMPP server (e.g., it may handle HTTP connections on behalf of multiple XMPP servers).</note></p>
|
||||
<example caption="Session creation response with stream features">
|
||||
<![CDATA[HTTP/1.1 200 OK
|
||||
@ -115,6 +115,7 @@ Content-Length: 674
|
||||
</stream:features>
|
||||
</body>
|
||||
]]></example>
|
||||
<p>If no <stream:features/> element is included in the connection manager's session creation response, then the client SHOULD send empty request elements until it receives a response containing a <stream:features/> element.</p>
|
||||
<example caption="Subsequent response with stream features">
|
||||
<![CDATA[HTTP/1.1 200 OK
|
||||
Content-Type: text/xml; charset=utf-8
|
||||
|
Loading…
Reference in New Issue
Block a user