1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 08:45:04 -05:00

application/octet-stream

git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@1865 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2008-05-23 14:40:26 +00:00
parent 1c7bf409d1
commit a82925089c
2 changed files with 4 additions and 4 deletions

View File

@ -135,7 +135,7 @@
<si
xmlns='http://jabber.org/protocol/si'
id='a0'
mime-type='binary/octet-stream'
mime-type='application/octet-stream'
profile='http://jabber.org/protocol/si/profile/profile-name'>
<header name='key'>value</header>
<feature xmlns='http://jabber.org/protocol/feature-neg'>
@ -158,7 +158,7 @@
<si
xmlns='http://jabber.org/protocol/si'
id='a0'
mime-type='binary/octet-stream'>
mime-type='application/octet-stream'>
<profile xmlns='http://jabber.org/protocol/si/profile/profile-name'>
<foo>
<bar>baz</bar>
@ -184,7 +184,7 @@
<si
xmlns='http://jabber.org/protocol/si'
id='a0'
mime-type='binary/octet-stream'
mime-type='application/octet-stream'
profile='filexfer'>
<header name='size'>37678</header>
<header name='hash'>a9234abbff332</header>

View File

@ -221,7 +221,7 @@
<section2 topic='&lt;si/&gt; Root Element' anchor='def-si'>
<p>The &lt;si/&gt; element is the root element for this protocol. It is an identifiable container for all the information necessary for negotiation and signalling. It contains attributes for the identifier, intended MIME-type, and profile. The contents convey stream-negotation and profile information.</p>
<p>The "id" attribute is an opaque identifier. This attribute MUST be present on type='set', and MUST be a valid string. This SHOULD NOT be sent back on type='result', since the &lt;iq/&gt; "id" attribute provides the only context needed. This value is generated by the Sender, and the same value MUST be used throughout a session when talking to the Receiver.</p>
<p>The "mime-type" attribute identifies the MIME-type for the data across the stream. This attribute MUST be a valid MIME-type as registered with &IANA; (specifically, as listed at &lt;<link url='http://www.iana.org/assignments/media-types'>http://www.iana.org/assignments/media-types</link>&gt;). During negotiation, this attribute SHOULD be present, and is otherwise not required. If not included during negotiation, its value is assumed to be "binary/octet-stream".</p>
<p>The "mime-type" attribute identifies the MIME-type for the data across the stream. This attribute MUST be a valid MIME-type as registered with &IANA; (specifically, as listed at &lt;<link url='http://www.iana.org/assignments/media-types'>http://www.iana.org/assignments/media-types</link>&gt;). During negotiation, this attribute SHOULD be present, and is otherwise not required. If not included during negotiation, its value is assumed to be "application/octet-stream".</p>
<p>The "profile" attribute defines the SI profile in use. This value MUST be present during negotiation, and is the namespace of the profile to use.</p>
<p>When the Sender first negotiates a Stream Initiation, all of the attributes SHOULD be present, and the id" and "profile" MUST be present. The contents MUST contain one profile, in the namespace declared in the "profile" attribute, and the feature negotiation for the stream. The feature negotiation MUST contain at least one option and use the field var "stream-method".</p>
<p>When the Receiver accepts a Stream Initiation, the &lt;si/&gt; element SHOULD NOT possess any attributes. The selected stream MUST be in the feature negotiation for the stream. There MUST only be one selected stream.</p>