Changeset 565 for draft-ietf-httpbis
- Timestamp:
- 27/03/09 15:25:20 (12 years ago)
- Location:
- draft-ietf-httpbis/latest
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/p5-range.html
r564 r565 729 729 <ul> 730 730 <li>The first 500 bytes: 731 <div id="rfc.figure.u.9"></div><pre class="text"> 731 <div id="rfc.figure.u.9"></div><pre class="text"> bytes 0-499/1234 732 732 </pre> </li> 733 733 <li>The second 500 bytes: 734 <div id="rfc.figure.u.10"></div><pre class="text"> 734 <div id="rfc.figure.u.10"></div><pre class="text"> bytes 500-999/1234 735 735 </pre> </li> 736 736 <li>All except for the first 500 bytes: 737 <div id="rfc.figure.u.11"></div><pre class="text"> 737 <div id="rfc.figure.u.11"></div><pre class="text"> bytes 500-1233/1234 738 738 </pre> </li> 739 739 <li>The last 500 bytes: 740 <div id="rfc.figure.u.12"></div><pre class="text"> 740 <div id="rfc.figure.u.12"></div><pre class="text"> bytes 734-1233/1234 741 741 </pre> </li> 742 742 </ul> … … 830 830 <p id="rfc.section.5.4.1.p.12">Examples of byte-ranges-specifier values (assuming an entity-body of length 10000): </p> 831 831 <ul> 832 <li>The first 500 bytes (byte offsets 0-499, inclusive): bytes=0-499</li> 833 <li>The second 500 bytes (byte offsets 500-999, inclusive): bytes=500-999</li> 834 <li>The final 500 bytes (byte offsets 9500-9999, inclusive): bytes=-500</li> 835 <li>Or bytes=9500-</li> 836 <li>The first and last bytes only (bytes 0 and 9999): bytes=0-0,-1</li> 837 <li>Several legal but not canonical specifications of the second 500 bytes (byte offsets 500-999, inclusive): <br> bytes=500-600,601-999<br> bytes=500-700,601-999 838 </li> 832 <li>The first 500 bytes (byte offsets 0-499, inclusive): 833 <div id="rfc.figure.u.17"></div><pre class="text"> bytes=0-499 834 </pre> </li> 835 <li>The second 500 bytes (byte offsets 500-999, inclusive): 836 <div id="rfc.figure.u.18"></div><pre class="text"> bytes=500-999 837 </pre> </li> 838 <li>The final 500 bytes (byte offsets 9500-9999, inclusive): 839 <div id="rfc.figure.u.19"></div><pre class="text"> bytes=-500 840 </pre> Or: <div id="rfc.figure.u.20"></div><pre class="text"> bytes=9500- 841 </pre> </li> 842 <li>The first and last bytes only (bytes 0 and 9999): 843 <div id="rfc.figure.u.21"></div><pre class="text"> bytes=0-0,-1 844 </pre> </li> 845 <li>Several legal but not canonical specifications of the second 500 bytes (byte offsets 500-999, inclusive): 846 <div id="rfc.figure.u.22"></div><pre class="text"> bytes=500-600,601-999 847 bytes=500-700,601-999 848 </pre> </li> 839 849 </ul> 840 850 <h3 id="rfc.section.5.4.2"><a href="#rfc.section.5.4.2">5.4.2</a> <a id="range.retrieval.requests" href="#range.retrieval.requests">Range Retrieval Requests</a></h3> … … 842 852 to the entity returned as the result of the request: 843 853 </p> 844 <div id="rfc.figure.u. 17"></div><pre class="inline"><span id="rfc.iref.g.23"></span> <a href="#range.retrieval.requests" class="smpl">Range</a> = "Range" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#range.retrieval.requests" class="smpl">Range-v</a>854 <div id="rfc.figure.u.23"></div><pre class="inline"><span id="rfc.iref.g.23"></span> <a href="#range.retrieval.requests" class="smpl">Range</a> = "Range" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#range.retrieval.requests" class="smpl">Range-v</a> 845 855 <a href="#range.retrieval.requests" class="smpl">Range-v</a> = <a href="#rule.ranges-specifier" class="smpl">byte-ranges-specifier</a> 846 856 / <a href="#range.retrieval.requests" class="smpl">other-ranges-specifier</a> … … 1046 1056 <dd>IESG</dd> 1047 1057 </dl> 1048 <div id="rfc.figure.u. 18"></div>1058 <div id="rfc.figure.u.24"></div> 1049 1059 <p>For example:</p><pre class="text"> HTTP/1.1 206 Partial Content 1050 1060 Date: Wed, 15 Nov 1995 06:25:24 GMT … … 1094 1104 </p> 1095 1105 <h1 id="rfc.section.C"><a href="#rfc.section.C">C.</a> <a id="collected.abnf" href="#collected.abnf">Collected ABNF</a></h1> 1096 <div id="rfc.figure.u. 19"></div> <pre class="inline"><a href="#header.accept-ranges" class="smpl">Accept-Ranges</a> = "Accept-Ranges:" OWS Accept-Ranges-v1106 <div id="rfc.figure.u.25"></div> <pre class="inline"><a href="#header.accept-ranges" class="smpl">Accept-Ranges</a> = "Accept-Ranges:" OWS Accept-Ranges-v 1097 1107 <a href="#header.accept-ranges" class="smpl">Accept-Ranges-v</a> = acceptable-ranges 1098 1108 … … 1147 1157 1148 1158 1149 </pre> <div id="rfc.figure.u.2 0"></div>1159 </pre> <div id="rfc.figure.u.26"></div> 1150 1160 <p>ABNF diagnostics:</p><pre class="inline">; Accept-Ranges defined but not used 1151 1161 ; Content-Range defined but not used -
draft-ietf-httpbis/latest/p5-range.xml
r564 r565 557 557 <t> 558 558 The first 500 bytes: 559 <figure><artwork type=" text/plain">560 559 <figure><artwork type="example" x:indent-with=" "> 560 bytes 0-499/1234 561 561 </artwork></figure> 562 562 </t> 563 563 <t> 564 564 The second 500 bytes: 565 <figure><artwork type=" text/plain">566 565 <figure><artwork type="example" x:indent-with=" "> 566 bytes 500-999/1234 567 567 </artwork></figure> 568 568 </t> 569 569 <t> 570 570 All except for the first 500 bytes: 571 <figure><artwork type=" text/plain">572 571 <figure><artwork type="example" x:indent-with=" "> 572 bytes 500-1233/1234 573 573 </artwork></figure> 574 574 </t> 575 575 <t> 576 576 The last 500 bytes: 577 <figure><artwork type=" text/plain">578 577 <figure><artwork type="example" x:indent-with=" "> 578 bytes 734-1233/1234 579 579 </artwork></figure> 580 580 </t> … … 766 766 length 10000): 767 767 <list style="symbols"> 768 <t>The first 500 bytes (byte offsets 0-499, inclusive): bytes=0-499</t> 769 768 <t>The first 500 bytes (byte offsets 0-499, inclusive): 769 <figure><artwork type="example" x:indent-with=" "> 770 bytes=0-499 771 </artwork></figure> 772 </t> 770 773 <t>The second 500 bytes (byte offsets 500-999, inclusive): 771 bytes=500-999</t> 772 774 <figure><artwork type="example" x:indent-with=" "> 775 bytes=500-999 776 </artwork></figure> 777 </t> 773 778 <t>The final 500 bytes (byte offsets 9500-9999, inclusive): 774 bytes=-500</t> 775 776 <t>Or bytes=9500-</t> 777 778 <t>The first and last bytes only (bytes 0 and 9999): bytes=0-0,-1</t> 779 779 <figure><artwork type="example" x:indent-with=" "> 780 bytes=-500 781 </artwork></figure> 782 Or: 783 <figure><artwork type="example" x:indent-with=" "> 784 bytes=9500- 785 </artwork></figure> 786 </t> 787 <t>The first and last bytes only (bytes 0 and 9999): 788 <figure><artwork type="example" x:indent-with=" "> 789 bytes=0-0,-1 790 </artwork></figure> 791 </t> 780 792 <t>Several legal but not canonical specifications of the second 500 781 793 bytes (byte offsets 500-999, inclusive): 782 <vspace/> 783 bytes=500-600,601-999<vspace/> 784 bytes=500-700,601-999</t> 794 <figure><artwork type="example" x:indent-with=" "> 795 bytes=500-600,601-999 796 bytes=500-700,601-999 797 </artwork></figure> 798 </t> 785 799 </list> 786 800 </t>
Note: See TracChangeset
for help on using the changeset viewer.