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
1 changed files with 5 additions and 10 deletions

View File

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