1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-28 20:22:24 -05:00
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@724 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2007-04-03 02:34:30 +00:00
parent 5fd219fb33
commit 8203d9d11e

View File

@ -243,9 +243,7 @@
<![CDATA[ <![CDATA[
<iq type='result' to='sender@jabber.org/resource' id='offer1'> <iq type='result' to='sender@jabber.org/resource' id='offer1'>
<si xmlns='http://jabber.org/protocol/si'> <si xmlns='http://jabber.org/protocol/si'>
<file xmlns='http://jabber.org/protocol/si/profile/file-transfer'> <file xmlns='http://jabber.org/protocol/si/profile/file-transfer'/>
<range offset='252' length='179'/>
</file>
<feature xmlns='http://jabber.org/protocol/feature-neg'> <feature xmlns='http://jabber.org/protocol/feature-neg'>
<x xmlns='jabber:x:data' type='submit'> <x xmlns='jabber:x:data' type='submit'>
<field var='stream-method'> <field var='stream-method'>
@ -257,28 +255,25 @@
</iq> </iq>
]]> ]]>
</example> </example>
This range should retrieve 256 bytes from the beginning of the file: <p>This range should retrieve 256 bytes from the beginning of the file:</p>
<example> <example>
<![CDATA[ <![CDATA[
<range length='256'/> <range length='256'/>
]]> ]]>
</example> </example>
This range should retrieve 256 bytes starting from the 128th byte in the <p>This range should retrieve 256 bytes starting from the 128th byte in the file:</p>
file:
<example> <example>
<![CDATA[ <![CDATA[
<range offset='128' length='256'/> <range offset='128' length='256'/>
]]> ]]>
</example> </example>
This range should retrieve the remainder of the file starting at the 128th <p>This range should retrieve the remainder of the file starting at the 128th byte in the file:</p>
byte in the file:
<example> <example>
<![CDATA[ <![CDATA[
<range offset='128'/> <range offset='128'/>
]]> ]]>
</example> </example>
This range is the same as having not sent the range request and the entire <p>This range is the same as having not sent the range request and the entire file is sent:</p>
file is sent:
<example> <example>
<![CDATA[ <![CDATA[
<range/> <range/>