source: draft-ietf-httpbis/11/p5-range.html @ 973

Last change on this file since 973 was 973, checked in by julian.reschke@…, 9 years ago

prepare publication of -11 drafts on 2010-08-04.

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/html;charset=utf-8
File size: 106.1 KB
Line 
1<!DOCTYPE html
2  PUBLIC "-//W3C//DTD HTML 4.01//EN">
3<html lang="en">
4   <head profile="http://www.w3.org/2006/03/hcard http://dublincore.org/documents/2008/08/04/dc-html/">
5      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6      <title>HTTP/1.1, part 5: Range Requests and Partial Responses</title><style type="text/css" title="Xml2Rfc (sans serif)">
7a {
8  text-decoration: none;
9}
10a.smpl {
11  color: black;
12}
13a:hover {
14  text-decoration: underline;
15}
16a:active {
17  text-decoration: underline;
18}
19address {
20  margin-top: 1em;
21  margin-left: 2em;
22  font-style: normal;
23}
24body {
25  color: black;
26  font-family: verdana, helvetica, arial, sans-serif;
27  font-size: 10pt;
28}
29cite {
30  font-style: normal;
31}
32div.note {
33  margin-left: 2em;
34}
35dd {
36  margin-right: 2em;
37}
38dl {
39  margin-left: 2em;
40}
41
42ul.empty {
43  list-style-type: none;
44}
45ul.empty li {
46  margin-top: .5em;
47}
48dl p {
49  margin-left: 0em;
50}
51dt {
52  margin-top: .5em;
53}
54h1 {
55  font-size: 14pt;
56  line-height: 21pt;
57  page-break-after: avoid;
58}
59h1.np {
60  page-break-before: always;
61}
62h1 a {
63  color: #333333;
64}
65h2 {
66  font-size: 12pt;
67  line-height: 15pt;
68  page-break-after: avoid;
69}
70h3, h4, h5, h6 {
71  font-size: 10pt;
72  page-break-after: avoid;
73}
74h2 a, h3 a, h4 a, h5 a, h6 a {
75  color: black;
76}
77img {
78  margin-left: 3em;
79}
80li {
81  margin-left: 2em;
82  margin-right: 2em;
83}
84ol {
85  margin-left: 2em;
86  margin-right: 2em;
87}
88ol p {
89  margin-left: 0em;
90}
91p {
92  margin-left: 2em;
93  margin-right: 2em;
94}
95pre {
96  margin-left: 3em;
97  background-color: lightyellow;
98  padding: .25em;
99}
100pre.text2 {
101  border-style: dotted;
102  border-width: 1px;
103  background-color: #f0f0f0;
104  width: 69em;
105}
106pre.inline {
107  background-color: white;
108  padding: 0em;
109}
110pre.text {
111  border-style: dotted;
112  border-width: 1px;
113  background-color: #f8f8f8;
114  width: 69em;
115}
116pre.drawing {
117  border-style: solid;
118  border-width: 1px;
119  background-color: #f8f8f8;
120  padding: 2em;
121}
122table {
123  margin-left: 2em;
124}
125table.tt {
126  vertical-align: top;
127}
128table.full {
129  border-style: outset;
130  border-width: 1px;
131}
132table.headers {
133  border-style: outset;
134  border-width: 1px;
135}
136table.tt td {
137  vertical-align: top;
138}
139table.full td {
140  border-style: inset;
141  border-width: 1px;
142}
143table.tt th {
144  vertical-align: top;
145}
146table.full th {
147  border-style: inset;
148  border-width: 1px;
149}
150table.headers th {
151  border-style: none none inset none;
152  border-width: 1px;
153}
154table.left {
155  margin-right: auto;
156}
157table.right {
158  margin-left: auto;
159}
160table.center {
161  margin-left: auto;
162  margin-right: auto;
163}
164caption {
165  caption-side: bottom;
166  font-weight: bold;
167  font-size: 9pt;
168  margin-top: .5em;
169}
170
171table.header {
172  border-spacing: 1px;
173  width: 95%;
174  font-size: 10pt;
175  color: white;
176}
177td.top {
178  vertical-align: top;
179}
180td.topnowrap {
181  vertical-align: top;
182  white-space: nowrap; 
183}
184table.header td {
185  background-color: gray;
186  width: 50%;
187}
188table.header a {
189  color: white;
190}
191td.reference {
192  vertical-align: top;
193  white-space: nowrap;
194  padding-right: 1em;
195}
196thead {
197  display:table-header-group;
198}
199ul.toc {
200  list-style: none;
201  margin-left: 1.5em;
202  margin-right: 0em;
203  padding-left: 0em;
204}
205li.tocline0 {
206  line-height: 150%;
207  font-weight: bold;
208  font-size: 10pt;
209  margin-left: 0em;
210  margin-right: 0em;
211}
212li.tocline1 {
213  line-height: normal;
214  font-weight: normal;
215  font-size: 9pt;
216  margin-left: 0em;
217  margin-right: 0em;
218}
219li.tocline2 {
220  font-size: 0pt;
221}
222ul p {
223  margin-left: 0em;
224}
225ul.ind {
226  list-style: none;
227  margin-left: 1.5em;
228  margin-right: 0em;
229  padding-left: 0em;
230  page-break-before: avoid;
231}
232li.indline0 {
233  font-weight: bold;
234  line-height: 200%;
235  margin-left: 0em;
236  margin-right: 0em;
237}
238li.indline1 {
239  font-weight: normal;
240  line-height: 150%;
241  margin-left: 0em;
242  margin-right: 0em;
243}
244.avoidbreak {
245  page-break-inside: avoid;
246}
247.bcp14 {
248  font-style: normal;
249  text-transform: lowercase;
250  font-variant: small-caps;
251}
252.comment {
253  background-color: yellow;
254}
255.center {
256  text-align: center;
257}
258.error {
259  color: red;
260  font-style: italic;
261  font-weight: bold;
262}
263.figure {
264  font-weight: bold;
265  text-align: center;
266  font-size: 9pt;
267}
268.filename {
269  color: #333333;
270  font-weight: bold;
271  font-size: 12pt;
272  line-height: 21pt;
273  text-align: center;
274}
275.fn {
276  font-weight: bold;
277}
278.hidden {
279  display: none;
280}
281.left {
282  text-align: left;
283}
284.right {
285  text-align: right;
286}
287.title {
288  color: #990000;
289  font-size: 18pt;
290  line-height: 18pt;
291  font-weight: bold;
292  text-align: center;
293  margin-top: 36pt;
294}
295.vcardline {
296  display: block;
297}
298.warning {
299  font-size: 14pt;
300  background-color: yellow;
301}
302
303
304@media print {
305  .noprint {
306    display: none;
307  }
308 
309  a {
310    color: black;
311    text-decoration: none;
312  }
313
314  table.header {
315    width: 90%;
316  }
317
318  td.header {
319    width: 50%;
320    color: black;
321    background-color: white;
322    vertical-align: top;
323    font-size: 12pt;
324  }
325
326  ul.toc a::after {
327    content: leader('.') target-counter(attr(href), page);
328  }
329 
330  a.iref {
331    content: target-counter(attr(href), page);
332  }
333 
334  .print2col {
335    column-count: 2;
336    -moz-column-count: 2;
337    column-fill: auto;
338  }
339}
340
341@page {
342  @top-left {
343       content: "Internet-Draft"; 
344  } 
345  @top-right {
346       content: "August 2010"; 
347  } 
348  @top-center {
349       content: "HTTP/1.1, Part 5"; 
350  } 
351  @bottom-left {
352       content: "Fielding, et al."; 
353  } 
354  @bottom-center {
355       content: "Standards Track"; 
356  } 
357  @bottom-right {
358       content: "[Page " counter(page) "]"; 
359  } 
360}
361
362@page:first { 
363    @top-left {
364      content: normal;
365    }
366    @top-right {
367      content: normal;
368    }
369    @top-center {
370      content: normal;
371    }
372}
373</style><link rel="Contents" href="#rfc.toc">
374      <link rel="Author" href="#rfc.authors">
375      <link rel="Copyright" href="#rfc.copyrightnotice">
376      <link rel="Index" href="#rfc.index">
377      <link rel="Chapter" title="1 Introduction" href="#rfc.section.1">
378      <link rel="Chapter" title="2 Range Units" href="#rfc.section.2">
379      <link rel="Chapter" title="3 Status Code Definitions" href="#rfc.section.3">
380      <link rel="Chapter" title="4 Combining Ranges" href="#rfc.section.4">
381      <link rel="Chapter" title="5 Header Field Definitions" href="#rfc.section.5">
382      <link rel="Chapter" title="6 IANA Considerations" href="#rfc.section.6">
383      <link rel="Chapter" title="7 Security Considerations" href="#rfc.section.7">
384      <link rel="Chapter" title="8 Acknowledgments" href="#rfc.section.8">
385      <link rel="Chapter" href="#rfc.section.9" title="9 References">
386      <link rel="Appendix" title="A Internet Media Type multipart/byteranges" href="#rfc.section.A">
387      <link rel="Appendix" title="B Compatibility with Previous Versions" href="#rfc.section.B">
388      <link rel="Appendix" title="C Collected ABNF" href="#rfc.section.C">
389      <link rel="Appendix" title="D Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.D">
390      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.520, 2010-07-14 12:36:35, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
391      <link rel="schema.dct" href="http://purl.org/dc/terms/">
392      <meta name="dct.creator" content="Fielding, R.">
393      <meta name="dct.creator" content="Gettys, J.">
394      <meta name="dct.creator" content="Mogul, J.">
395      <meta name="dct.creator" content="Frystyk, H.">
396      <meta name="dct.creator" content="Masinter, L.">
397      <meta name="dct.creator" content="Leach, P.">
398      <meta name="dct.creator" content="Berners-Lee, T.">
399      <meta name="dct.creator" content="Lafon, Y.">
400      <meta name="dct.creator" content="Reschke, J. F.">
401      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p5-range-11">
402      <meta name="dct.issued" scheme="ISO8601" content="2010-08-04">
403      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
404      <meta name="dct.abstract" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 5 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616. Part 5 defines range-specific requests and the rules for constructing and combining responses to those requests.">
405      <meta name="description" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 5 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616. Part 5 defines range-specific requests and the rules for constructing and combining responses to those requests.">
406   </head>
407   <body>
408      <table class="header">
409         <tbody>
410            <tr>
411               <td class="left">HTTPbis Working Group</td>
412               <td class="right">R. Fielding, Editor</td>
413            </tr>
414            <tr>
415               <td class="left">Internet-Draft</td>
416               <td class="right">Day Software</td>
417            </tr>
418            <tr>
419               <td class="left">Obsoletes: <a href="http://tools.ietf.org/html/rfc2616">2616</a> (if approved)
420               </td>
421               <td class="right">J. Gettys</td>
422            </tr>
423            <tr>
424               <td class="left">Intended status: Standards Track</td>
425               <td class="right">Alcatel-Lucent</td>
426            </tr>
427            <tr>
428               <td class="left">Expires: February 5, 2011</td>
429               <td class="right">J. Mogul</td>
430            </tr>
431            <tr>
432               <td class="left"></td>
433               <td class="right">HP</td>
434            </tr>
435            <tr>
436               <td class="left"></td>
437               <td class="right">H. Frystyk</td>
438            </tr>
439            <tr>
440               <td class="left"></td>
441               <td class="right">Microsoft</td>
442            </tr>
443            <tr>
444               <td class="left"></td>
445               <td class="right">L. Masinter</td>
446            </tr>
447            <tr>
448               <td class="left"></td>
449               <td class="right">Adobe Systems</td>
450            </tr>
451            <tr>
452               <td class="left"></td>
453               <td class="right">P. Leach</td>
454            </tr>
455            <tr>
456               <td class="left"></td>
457               <td class="right">Microsoft</td>
458            </tr>
459            <tr>
460               <td class="left"></td>
461               <td class="right">T. Berners-Lee</td>
462            </tr>
463            <tr>
464               <td class="left"></td>
465               <td class="right">W3C/MIT</td>
466            </tr>
467            <tr>
468               <td class="left"></td>
469               <td class="right">Y. Lafon, Editor</td>
470            </tr>
471            <tr>
472               <td class="left"></td>
473               <td class="right">W3C</td>
474            </tr>
475            <tr>
476               <td class="left"></td>
477               <td class="right">J. Reschke, Editor</td>
478            </tr>
479            <tr>
480               <td class="left"></td>
481               <td class="right">greenbytes</td>
482            </tr>
483            <tr>
484               <td class="left"></td>
485               <td class="right">August 4, 2010</td>
486            </tr>
487         </tbody>
488      </table>
489      <p class="title">HTTP/1.1, part 5: Range Requests and Partial Responses<br><span class="filename">draft-ietf-httpbis-p5-range-11</span></p>
490      <h1 id="rfc.abstract"><a href="#rfc.abstract">Abstract</a></h1> 
491      <p>The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information
492         systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 5 of the
493         seven-part specification that defines the protocol referred to as "HTTP/1.1" and, taken together, obsoletes RFC 2616. Part
494         5 defines range-specific requests and the rules for constructing and combining responses to those requests.
495      </p> 
496      <h1 id="rfc.note.1"><a href="#rfc.note.1">Editorial Note (To be removed by RFC Editor)</a></h1> 
497      <p>Discussion of this draft should take place on the HTTPBIS working group mailing list (ietf-http-wg@w3.org). The current issues
498         list is at &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/report/3">http://tools.ietf.org/wg/httpbis/trac/report/3</a>&gt; and related documents (including fancy diffs) can be found at &lt;<a href="http://tools.ietf.org/wg/httpbis/">http://tools.ietf.org/wg/httpbis/</a>&gt;.
499      </p> 
500      <p>The changes in this draft are summarized in <a href="#changes.since.10" title="Since draft-ietf-httpbis-p5-range-10">Appendix&nbsp;D.12</a>.
501      </p> 
502      <h1><a id="rfc.status" href="#rfc.status">Status of This Memo</a></h1>
503      <p>This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.</p>
504      <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute
505         working documents as Internet-Drafts. The list of current Internet-Drafts is at <a href="http://datatracker.ietf.org/drafts/current/">http://datatracker.ietf.org/drafts/current/</a>.
506      </p>
507      <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other
508         documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work
509         in progress”.
510      </p>
511      <p>This Internet-Draft will expire on February 5, 2011.</p>
512      <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
513      <p>Copyright © 2010 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
514      <p>This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights
515         and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License
516         text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified
517         BSD License.
518      </p>
519      <p>This document may contain material from IETF Documents or IETF Contributions published or made publicly available before November
520         10, 2008. The person(s) controlling the copyright in some of this material may not have granted the IETF Trust the right to
521         allow modifications of such material outside the IETF Standards Process. Without obtaining an adequate license from the person(s)
522         controlling the copyright in such materials, this document may not be modified outside the IETF Standards Process, and derivative
523         works of it may not be created outside the IETF Standards Process, except to format it for publication as an RFC or to translate
524         it into languages other than English.
525      </p>
526      <hr class="noprint">
527      <h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1>
528      <ul class="toc">
529         <li class="tocline0">1.&nbsp;&nbsp;&nbsp;<a href="#introduction">Introduction</a><ul class="toc">
530               <li class="tocline1">1.1&nbsp;&nbsp;&nbsp;<a href="#intro.requirements">Requirements</a></li>
531               <li class="tocline1">1.2&nbsp;&nbsp;&nbsp;<a href="#notation">Syntax Notation</a><ul class="toc">
532                     <li class="tocline1">1.2.1&nbsp;&nbsp;&nbsp;<a href="#core.rules">Core Rules</a></li>
533                     <li class="tocline1">1.2.2&nbsp;&nbsp;&nbsp;<a href="#abnf.dependencies">ABNF Rules defined in other Parts of the Specification</a></li>
534                  </ul>
535               </li>
536            </ul>
537         </li>
538         <li class="tocline0">2.&nbsp;&nbsp;&nbsp;<a href="#range.units">Range Units</a><ul class="toc">
539               <li class="tocline1">2.1&nbsp;&nbsp;&nbsp;<a href="#range.specifier.registry">Range Specifier Registry</a></li>
540            </ul>
541         </li>
542         <li class="tocline0">3.&nbsp;&nbsp;&nbsp;<a href="#status.code.definitions">Status Code Definitions</a><ul class="toc">
543               <li class="tocline1">3.1&nbsp;&nbsp;&nbsp;<a href="#status.206">206 Partial Content</a></li>
544               <li class="tocline1">3.2&nbsp;&nbsp;&nbsp;<a href="#status.416">416 Requested Range Not Satisfiable</a></li>
545            </ul>
546         </li>
547         <li class="tocline0">4.&nbsp;&nbsp;&nbsp;<a href="#combining.byte.ranges">Combining Ranges</a></li>
548         <li class="tocline0">5.&nbsp;&nbsp;&nbsp;<a href="#header.fields">Header Field Definitions</a><ul class="toc">
549               <li class="tocline1">5.1&nbsp;&nbsp;&nbsp;<a href="#header.accept-ranges">Accept-Ranges</a></li>
550               <li class="tocline1">5.2&nbsp;&nbsp;&nbsp;<a href="#header.content-range">Content-Range</a></li>
551               <li class="tocline1">5.3&nbsp;&nbsp;&nbsp;<a href="#header.if-range">If-Range</a></li>
552               <li class="tocline1">5.4&nbsp;&nbsp;&nbsp;<a href="#header.range">Range</a><ul class="toc">
553                     <li class="tocline1">5.4.1&nbsp;&nbsp;&nbsp;<a href="#byte.ranges">Byte Ranges</a></li>
554                     <li class="tocline1">5.4.2&nbsp;&nbsp;&nbsp;<a href="#range.retrieval.requests">Range Retrieval Requests</a></li>
555                  </ul>
556               </li>
557            </ul>
558         </li>
559         <li class="tocline0">6.&nbsp;&nbsp;&nbsp;<a href="#IANA.considerations">IANA Considerations</a><ul class="toc">
560               <li class="tocline1">6.1&nbsp;&nbsp;&nbsp;<a href="#status.code.registration">Status Code Registration</a></li>
561               <li class="tocline1">6.2&nbsp;&nbsp;&nbsp;<a href="#header.field.registration">Header Field Registration</a></li>
562               <li class="tocline1">6.3&nbsp;&nbsp;&nbsp;<a href="#range.specifier.registration">Range Specifier Registration</a></li>
563            </ul>
564         </li>
565         <li class="tocline0">7.&nbsp;&nbsp;&nbsp;<a href="#security.considerations">Security Considerations</a></li>
566         <li class="tocline0">8.&nbsp;&nbsp;&nbsp;<a href="#ack">Acknowledgments</a></li>
567         <li class="tocline0">9.&nbsp;&nbsp;&nbsp;<a href="#rfc.references">References</a><ul class="toc">
568               <li class="tocline1">9.1&nbsp;&nbsp;&nbsp;<a href="#rfc.references.1">Normative References</a></li>
569               <li class="tocline1">9.2&nbsp;&nbsp;&nbsp;<a href="#rfc.references.2">Informative References</a></li>
570            </ul>
571         </li>
572         <li class="tocline0"><a href="#rfc.authors">Authors' Addresses</a></li>
573         <li class="tocline0">A.&nbsp;&nbsp;&nbsp;<a href="#internet.media.type.multipart.byteranges">Internet Media Type multipart/byteranges</a></li>
574         <li class="tocline0">B.&nbsp;&nbsp;&nbsp;<a href="#compatibility">Compatibility with Previous Versions</a><ul class="toc">
575               <li class="tocline1">B.1&nbsp;&nbsp;&nbsp;<a href="#changes.from.rfc.2616">Changes from RFC 2616</a></li>
576            </ul>
577         </li>
578         <li class="tocline0">C.&nbsp;&nbsp;&nbsp;<a href="#collected.abnf">Collected ABNF</a></li>
579         <li class="tocline0">D.&nbsp;&nbsp;&nbsp;<a href="#change.log">Change Log (to be removed by RFC Editor before publication)</a><ul class="toc">
580               <li class="tocline1">D.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.1">Since RFC2616</a></li>
581               <li class="tocline1">D.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.2">Since draft-ietf-httpbis-p5-range-00</a></li>
582               <li class="tocline1">D.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.3">Since draft-ietf-httpbis-p5-range-01</a></li>
583               <li class="tocline1">D.4&nbsp;&nbsp;&nbsp;<a href="#changes.since.02">Since draft-ietf-httpbis-p5-range-02</a></li>
584               <li class="tocline1">D.5&nbsp;&nbsp;&nbsp;<a href="#changes.since.03">Since draft-ietf-httpbis-p5-range-03</a></li>
585               <li class="tocline1">D.6&nbsp;&nbsp;&nbsp;<a href="#changes.since.04">Since draft-ietf-httpbis-p5-range-04</a></li>
586               <li class="tocline1">D.7&nbsp;&nbsp;&nbsp;<a href="#changes.since.05">Since draft-ietf-httpbis-p5-range-05</a></li>
587               <li class="tocline1">D.8&nbsp;&nbsp;&nbsp;<a href="#changes.since.06">Since draft-ietf-httpbis-p5-range-06</a></li>
588               <li class="tocline1">D.9&nbsp;&nbsp;&nbsp;<a href="#changes.since.07">Since draft-ietf-httpbis-p5-range-07</a></li>
589               <li class="tocline1">D.10&nbsp;&nbsp;&nbsp;<a href="#changes.since.08">Since draft-ietf-httpbis-p5-range-08</a></li>
590               <li class="tocline1">D.11&nbsp;&nbsp;&nbsp;<a href="#changes.since.09">Since draft-ietf-httpbis-p5-range-09</a></li>
591               <li class="tocline1">D.12&nbsp;&nbsp;&nbsp;<a href="#changes.since.10">Since draft-ietf-httpbis-p5-range-10</a></li>
592            </ul>
593         </li>
594         <li class="tocline0"><a href="#rfc.index">Index</a></li>
595      </ul>
596      <h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a id="introduction" href="#introduction">Introduction</a></h1>
597      <p id="rfc.section.1.p.1">HTTP clients often encounter interrupted data transfers as a result of cancelled requests or dropped connections. When a cache
598         has stored a partial representation, it is desirable to request the remainder of that representation in a subsequent request
599         rather than transfer the entire representation. There are also a number of Web applications that benefit from being able to
600         request only a subset of a larger representation, such as a single page of a very large document or only part of an image
601         to be rendered by a device with limited local storage.
602      </p>
603      <p id="rfc.section.1.p.2">This document defines HTTP/1.1 range requests, partial responses, and the multipart/byteranges media type. The protocol for
604         range requests is an <em class="bcp14">OPTIONAL</em> feature of HTTP, designed so resources or recipients that do not implement this feature can respond as if it is a normal GET
605         request without impacting interoperability. Partial responses are indicated by a distinct status code to not be mistaken for
606         full responses by intermediate caches that might not implement the feature.
607      </p>
608      <p id="rfc.section.1.p.3">Although the HTTP range request mechanism is designed to allow for extensible range types, this specification only defines
609         requests for byte ranges.
610      </p>
611      <h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a>&nbsp;<a id="intro.requirements" href="#intro.requirements">Requirements</a></h2>
612      <p id="rfc.section.1.1.p.1">The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL"
613         in this document are to be interpreted as described in <a href="#RFC2119" id="rfc.xref.RFC2119.1"><cite title="Key words for use in RFCs to Indicate Requirement Levels">[RFC2119]</cite></a>.
614      </p>
615      <p id="rfc.section.1.1.p.2">An implementation is not compliant if it fails to satisfy one or more of the "MUST" or "REQUIRED" level requirements for the
616         protocols it implements. An implementation that satisfies all the "MUST" or "REQUIRED" level and all the "SHOULD" level requirements
617         for its protocols is said to be "unconditionally compliant"; one that satisfies all the "MUST" level requirements but not
618         all the "SHOULD" level requirements for its protocols is said to be "conditionally compliant".
619      </p>
620      <h2 id="rfc.section.1.2"><a href="#rfc.section.1.2">1.2</a>&nbsp;<a id="notation" href="#notation">Syntax Notation</a></h2>
621      <p id="rfc.section.1.2.p.1">This specification uses the ABNF syntax defined in <a href="p1-messaging.html#notation" title="Syntax Notation">Section 1.2</a> of <a href="#Part1" id="rfc.xref.Part1.1"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a> (which extends the syntax defined in <a href="#RFC5234" id="rfc.xref.RFC5234.1"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a> with a list rule). <a href="#collected.abnf" title="Collected ABNF">Appendix&nbsp;C</a> shows the collected ABNF, with the list rule expanded.
622      </p>
623      <p id="rfc.section.1.2.p.2">The following core rules are included by reference, as defined in <a href="#RFC5234" id="rfc.xref.RFC5234.2"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a>, <a href="http://tools.ietf.org/html/rfc5234#appendix-B.1">Appendix B.1</a>: ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls), DIGIT (decimal 0-9), DQUOTE (double quote), HEXDIG
624         (hexadecimal 0-9/A-F/a-f), LF (line feed), OCTET (any 8-bit sequence of data), SP (space), VCHAR (any visible USASCII character),
625         and WSP (whitespace).
626      </p>
627      <h3 id="rfc.section.1.2.1"><a href="#rfc.section.1.2.1">1.2.1</a>&nbsp;<a id="core.rules" href="#core.rules">Core Rules</a></h3>
628      <p id="rfc.section.1.2.1.p.1">The core rules below are defined in <a href="p1-messaging.html#basic.rules" title="Basic Rules">Section 1.2.2</a> of <a href="#Part1" id="rfc.xref.Part1.2"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>:
629      </p>
630      <div id="rfc.figure.u.1"></div><pre class="inline">  <a href="#core.rules" class="smpl">token</a>      = &lt;token, defined in <a href="#Part1" id="rfc.xref.Part1.3"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#basic.rules" title="Basic Rules">Section 1.2.2</a>&gt;
631  <a href="#core.rules" class="smpl">OWS</a>        = &lt;OWS, defined in <a href="#Part1" id="rfc.xref.Part1.4"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#basic.rules" title="Basic Rules">Section 1.2.2</a>&gt;
632</pre><h3 id="rfc.section.1.2.2"><a href="#rfc.section.1.2.2">1.2.2</a>&nbsp;<a id="abnf.dependencies" href="#abnf.dependencies">ABNF Rules defined in other Parts of the Specification</a></h3>
633      <p id="rfc.section.1.2.2.p.1">The ABNF rules below are defined in other parts:</p>
634      <div id="rfc.figure.u.2"></div><pre class="inline">  <a href="#abnf.dependencies" class="smpl">HTTP-date</a>  = &lt;HTTP-date, defined in <a href="#Part1" id="rfc.xref.Part1.5"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#date.time.formats.full.date" title="Date/Time Formats: Full Date">Section 6.1</a>&gt;
635</pre><div id="rfc.figure.u.3"></div><pre class="inline">  <a href="#abnf.dependencies" class="smpl">entity-tag</a> = &lt;entity-tag, defined in <a href="#Part4" id="rfc.xref.Part4.1"><cite title="HTTP/1.1, part 4: Conditional Requests">[Part4]</cite></a>, <a href="p4-conditional.html#entity.tags" title="Entity-Tags">Section 2</a>&gt;
636</pre><h1 id="rfc.section.2"><a href="#rfc.section.2">2.</a>&nbsp;<a id="range.units" href="#range.units">Range Units</a></h1>
637      <p id="rfc.section.2.p.1">HTTP/1.1 allows a client to request that only part (a range of) the representation be included within the response. HTTP/1.1
638         uses range units in the Range (<a href="#header.range" id="rfc.xref.header.range.1" title="Range">Section&nbsp;5.4</a>) and Content-Range (<a href="#header.content-range" id="rfc.xref.header.content-range.1" title="Content-Range">Section&nbsp;5.2</a>) header fields. A representation can be broken down into subranges according to various structural units.
639      </p>
640      <div id="rfc.figure.u.4"></div><pre class="inline"><span id="rfc.iref.g.1"></span><span id="rfc.iref.g.2"></span><span id="rfc.iref.g.3"></span>  <a href="#range.units" class="smpl">range-unit</a>       = <a href="#range.units" class="smpl">bytes-unit</a> / <a href="#range.units" class="smpl">other-range-unit</a>
641  <a href="#range.units" class="smpl">bytes-unit</a>       = "bytes"
642  <a href="#range.units" class="smpl">other-range-unit</a> = <a href="#core.rules" class="smpl">token</a>
643</pre><p id="rfc.section.2.p.3">HTTP/1.1 has been designed to allow implementations of applications that do not depend on knowledge of ranges. The only range
644         unit defined by HTTP/1.1 is "bytes". Additional specifiers can be defined as described in <a href="#range.specifier.registry" title="Range Specifier Registry">Section&nbsp;2.1</a>.
645      </p>
646      <p id="rfc.section.2.p.4">If a range unit is not understood in a request, a server <em class="bcp14">MUST</em> ignore the whole Range header (<a href="#header.range" id="rfc.xref.header.range.2" title="Range">Section&nbsp;5.4</a>). If a range unit is not understood in a response, an intermediary <em class="bcp14">SHOULD</em> pass the response to the client; a client <em class="bcp14">MUST</em> fail.
647      </p>
648      <h2 id="rfc.section.2.1"><a href="#rfc.section.2.1">2.1</a>&nbsp;<a id="range.specifier.registry" href="#range.specifier.registry">Range Specifier Registry</a></h2>
649      <p id="rfc.section.2.1.p.1">The HTTP Ranger Specifier Registry defines the name space for the range specifier names.</p>
650      <p id="rfc.section.2.1.p.2">Registrations <em class="bcp14">MUST</em> include the following fields:
651      </p>
652      <ul>
653         <li>Name</li>
654         <li>Description</li>
655         <li>Pointer to specification text</li>
656      </ul>
657      <p id="rfc.section.2.1.p.3">Values to be added to this name space are subject to IETF review (<a href="#RFC5226" id="rfc.xref.RFC5226.1"><cite title="Guidelines for Writing an IANA Considerations Section in RFCs">[RFC5226]</cite></a>, <a href="http://tools.ietf.org/html/rfc5226#section-4.1">Section 4.1</a>).
658      </p>
659      <p id="rfc.section.2.1.p.4">The registry itself is maintained at &lt;<a href="http://www.iana.org/assignments/http-range-specifiers">http://www.iana.org/assignments/http-range-specifiers</a>&gt;.
660      </p>
661      <h1 id="rfc.section.3"><a href="#rfc.section.3">3.</a>&nbsp;<a id="status.code.definitions" href="#status.code.definitions">Status Code Definitions</a></h1>
662      <div id="rfc.iref.3"></div>
663      <div id="rfc.iref.s.1"></div>
664      <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;<a id="status.206" href="#status.206">206 Partial Content</a></h2>
665      <p id="rfc.section.3.1.p.1">The server has fulfilled the partial GET request for the resource. The request <em class="bcp14">MUST</em> have included a Range header field (<a href="#header.range" id="rfc.xref.header.range.3" title="Range">Section&nbsp;5.4</a>) indicating the desired range, and <em class="bcp14">MAY</em> have included an If-Range header field (<a href="#header.if-range" id="rfc.xref.header.if-range.1" title="If-Range">Section&nbsp;5.3</a>) to make the request conditional.
666      </p>
667      <p id="rfc.section.3.1.p.2">The response <em class="bcp14">MUST</em> include the following header fields:
668      </p>
669      <ul>
670         <li>Either a Content-Range header field (<a href="#header.content-range" id="rfc.xref.header.content-range.2" title="Content-Range">Section&nbsp;5.2</a>) indicating the range included with this response, or a multipart/byteranges Content-Type including Content-Range fields
671            for each part. If a Content-Length header field is present in the response, its value <em class="bcp14">MUST</em> match the actual number of octets transmitted in the message-body.
672         </li>
673         <li>Date</li>
674         <li>Cache-Control, ETag, Expires, Content-Location, Last-Modified, and/or Vary, if the header field would have been sent in a
675            200 response to the same request
676         </li>
677      </ul>
678      <p id="rfc.section.3.1.p.3">If the 206 response is the result of an If-Range request, the response <em class="bcp14">SHOULD NOT</em> include other representation header fields. Otherwise, the response <em class="bcp14">MUST</em> include all of the representation header fields that would have been returned with a 200 (OK) response to the same request.
679      </p>
680      <p id="rfc.section.3.1.p.4">A cache <em class="bcp14">MUST NOT</em> combine a 206 response with other previously cached content if the ETag or Last-Modified headers do not match exactly, see <a href="#combining.byte.ranges" title="Combining Ranges">Section&nbsp;4</a>.
681      </p>
682      <p id="rfc.section.3.1.p.5">A cache that does not support the Range and Content-Range headers <em class="bcp14">MUST NOT</em> cache 206 (Partial Content) responses. Furthermore, if a response uses a range unit that is not understood by the cache, then
683         it <em class="bcp14">MUST NOT</em> be cached either.
684      </p>
685      <div id="rfc.iref.4"></div>
686      <div id="rfc.iref.s.2"></div>
687      <h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a>&nbsp;<a id="status.416" href="#status.416">416 Requested Range Not Satisfiable</a></h2>
688      <p id="rfc.section.3.2.p.1">A server <em class="bcp14">SHOULD</em> return a response with this status code if a request included a Range request-header field (<a href="#header.range" id="rfc.xref.header.range.4" title="Range">Section&nbsp;5.4</a>), and none of the ranges-specifier values in this field overlap the current extent of the selected resource, and the request
689         did not include an If-Range request-header field (<a href="#header.if-range" id="rfc.xref.header.if-range.2" title="If-Range">Section&nbsp;5.3</a>). (For byte-ranges, this means that the first-byte-pos of all of the byte-range-spec values were greater than the current
690         length of the selected resource.)
691      </p>
692      <p id="rfc.section.3.2.p.2">When this status code is returned for a byte-range request, the response <em class="bcp14">SHOULD</em> include a Content-Range header field specifying the current length of the representation (see <a href="#header.content-range" id="rfc.xref.header.content-range.3" title="Content-Range">Section&nbsp;5.2</a>). This response <em class="bcp14">MUST NOT</em> use the multipart/byteranges content-type.
693      </p>
694      <h1 id="rfc.section.4"><a href="#rfc.section.4">4.</a>&nbsp;<a id="combining.byte.ranges" href="#combining.byte.ranges">Combining Ranges</a></h1>
695      <p id="rfc.section.4.p.1">A response might transfer only a subrange of a representation, either because the request included one or more Range specifications,
696         or because a connection closed prematurely. After several such transfers, a cache might have received several ranges of the
697         same representation.
698      </p>
699      <p id="rfc.section.4.p.2">If a cache has a stored non-empty set of subranges for a representation, and an incoming response transfers another subrange,
700         the cache <em class="bcp14">MAY</em> combine the new subrange with the existing set if both the following conditions are met:
701      </p>
702      <ul>
703         <li>Both the incoming response and the cache entry have a cache validator.</li>
704         <li>The two cache validators match using the strong comparison function (see <a href="p4-conditional.html#weak.and.strong.validators" title="Weak and Strong Validators">Section 4</a> of <a href="#Part4" id="rfc.xref.Part4.2"><cite title="HTTP/1.1, part 4: Conditional Requests">[Part4]</cite></a>).
705         </li>
706      </ul>
707      <p id="rfc.section.4.p.3">If either requirement is not met, the cache <em class="bcp14">MUST</em> use only the most recent partial response (based on the Date values transmitted with every response, and using the incoming
708         response if these values are equal or missing), and <em class="bcp14">MUST</em> discard the other partial information.
709      </p>
710      <h1 id="rfc.section.5"><a href="#rfc.section.5">5.</a>&nbsp;<a id="header.fields" href="#header.fields">Header Field Definitions</a></h1>
711      <p id="rfc.section.5.p.1">This section defines the syntax and semantics of HTTP/1.1 header fields related to range requests and partial responses.</p>
712      <div id="rfc.iref.a.1"></div>
713      <div id="rfc.iref.h.1"></div>
714      <h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a>&nbsp;<a id="header.accept-ranges" href="#header.accept-ranges">Accept-Ranges</a></h2>
715      <p id="rfc.section.5.1.p.1">The "Accept-Ranges" response-header field allows a resource to indicate its acceptance of range requests.</p>
716      <div id="rfc.figure.u.5"></div><pre class="inline"><span id="rfc.iref.g.4"></span><span id="rfc.iref.g.5"></span><span id="rfc.iref.g.6"></span>  <a href="#header.accept-ranges" class="smpl">Accept-Ranges</a>     = "Accept-Ranges" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#header.accept-ranges" class="smpl">Accept-Ranges-v</a>
717  <a href="#header.accept-ranges" class="smpl">Accept-Ranges-v</a>   = <a href="#header.accept-ranges" class="smpl">acceptable-ranges</a>
718  <a href="#header.accept-ranges" class="smpl">acceptable-ranges</a> = 1#<a href="#range.units" class="smpl">range-unit</a> / "none"
719</pre><p id="rfc.section.5.1.p.3">Origin servers that accept byte-range requests <em class="bcp14">MAY</em> send
720      </p>
721      <div id="rfc.figure.u.6"></div><pre class="text">  Accept-Ranges: bytes
722</pre><p id="rfc.section.5.1.p.5">but are not required to do so. Clients <em class="bcp14">MAY</em> generate range requests without having received this header for the resource involved. Range units are defined in <a href="#range.units" title="Range Units">Section&nbsp;2</a>.
723      </p>
724      <p id="rfc.section.5.1.p.6">Servers that do not accept any kind of range request for a resource <em class="bcp14">MAY</em> send
725      </p>
726      <div id="rfc.figure.u.7"></div><pre class="text">  Accept-Ranges: none
727</pre><p id="rfc.section.5.1.p.8">to advise the client not to attempt a range request.</p>
728      <div id="rfc.iref.c.1"></div>
729      <div id="rfc.iref.h.2"></div>
730      <h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a>&nbsp;<a id="header.content-range" href="#header.content-range">Content-Range</a></h2>
731      <p id="rfc.section.5.2.p.1">The "Content-Range" header field is sent with a partial representation to specify where in the full representation the payload
732         body is intended to be applied.
733      </p>
734      <p id="rfc.section.5.2.p.2">Range units are defined in <a href="#range.units" title="Range Units">Section&nbsp;2</a>.
735      </p>
736      <div id="rfc.figure.u.8"></div><pre class="inline"><span id="rfc.iref.g.7"></span><span id="rfc.iref.g.8"></span><span id="rfc.iref.g.9"></span><span id="rfc.iref.g.10"></span><span id="rfc.iref.g.11"></span><span id="rfc.iref.g.12"></span>  <a href="#header.content-range" class="smpl">Content-Range</a> = "Content-Range" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#header.content-range" class="smpl">Content-Range-v</a>
737  <a href="#header.content-range" class="smpl">Content-Range-v</a> = <a href="#header.content-range" class="smpl">content-range-spec</a>
738 
739  <a href="#header.content-range" class="smpl">content-range-spec</a>      = <a href="#header.content-range" class="smpl">byte-content-range-spec</a>
740                          / <a href="#header.content-range" class="smpl">other-content-range-spec</a>
741  <a href="#header.content-range" class="smpl">byte-content-range-spec</a> = <a href="#range.units" class="smpl">bytes-unit</a> <a href="#notation" class="smpl">SP</a>
742                            <a href="#header.content-range" class="smpl">byte-range-resp-spec</a> "/"
743                            ( <a href="#header.content-range" class="smpl">instance-length</a> / "*" )
744 
745  <a href="#header.content-range" class="smpl">byte-range-resp-spec</a>    = (<a href="#rule.ranges-specifier" class="smpl">first-byte-pos</a> "-" <a href="#rule.ranges-specifier" class="smpl">last-byte-pos</a>)
746                          / "*"
747                         
748  <a href="#header.content-range" class="smpl">instance-length</a>         = 1*<a href="#notation" class="smpl">DIGIT</a>
749 
750  <a href="#header.content-range" class="smpl">other-content-range-spec</a> = <a href="#range.units" class="smpl">other-range-unit</a> <a href="#notation" class="smpl">SP</a>
751                             <a href="#header.content-range" class="smpl">other-range-resp-spec</a>
752  <a href="#header.content-range" class="smpl">other-range-resp-spec</a>    = *<a href="#notation" class="smpl">CHAR</a>
753</pre><p id="rfc.section.5.2.p.4">The header <em class="bcp14">SHOULD</em> indicate the total length of the full representation, unless this length is unknown or difficult to determine. The asterisk
754         "*" character means that the instance-length is unknown at the time when the response was generated.
755      </p>
756      <p id="rfc.section.5.2.p.5">Unlike byte-ranges-specifier values (see <a href="#byte.ranges" title="Byte Ranges">Section&nbsp;5.4.1</a>), a byte-range-resp-spec <em class="bcp14">MUST</em> only specify one range, and <em class="bcp14">MUST</em> contain absolute byte positions for both the first and last byte of the range.
757      </p>
758      <p id="rfc.section.5.2.p.6">A byte-content-range-spec with a byte-range-resp-spec whose last-byte-pos value is less than its first-byte-pos value, or
759         whose instance-length value is less than or equal to its last-byte-pos value, is invalid. The recipient of an invalid byte-content-range-spec <em class="bcp14">MUST</em> ignore it and any content transferred along with it.
760      </p>
761      <p id="rfc.section.5.2.p.7">In the case of a byte range request: A server sending a response with status code 416 (Requested range not satisfiable) <em class="bcp14">SHOULD</em> include a Content-Range field with a byte-range-resp-spec of "*". The instance-length specifies the current length of the
762         selected resource. A response with status code 206 (Partial Content) <em class="bcp14">MUST NOT</em> include a Content-Range field with a byte-range-resp-spec of "*".
763      </p>
764      <p id="rfc.section.5.2.p.8">Examples of byte-content-range-spec values, assuming that the representation contains a total of 1234 bytes: </p>
765      <ul>
766         <li>The first 500 bytes:
767            <div id="rfc.figure.u.9"></div><pre class="text">  bytes 0-499/1234
768</pre> </li>
769         <li>The second 500 bytes:
770            <div id="rfc.figure.u.10"></div><pre class="text">  bytes 500-999/1234
771</pre> </li>
772         <li>All except for the first 500 bytes:
773            <div id="rfc.figure.u.11"></div><pre class="text">  bytes 500-1233/1234
774</pre> </li>
775         <li>The last 500 bytes:
776            <div id="rfc.figure.u.12"></div><pre class="text">  bytes 734-1233/1234
777</pre> </li>
778      </ul>
779      <p id="rfc.section.5.2.p.9">When an HTTP message includes the content of a single range (for example, a response to a request for a single range, or to
780         a request for a set of ranges that overlap without any holes), this content is transmitted with a Content-Range header, and
781         a Content-Length header showing the number of bytes actually transferred. For example,
782      </p>
783      <div id="rfc.figure.u.13"></div><pre class="text">  HTTP/1.1 206 Partial Content
784  Date: Wed, 15 Nov 1995 06:25:24 GMT
785  Last-Modified: Wed, 15 Nov 1995 04:58:08 GMT
786  Content-Range: bytes 21010-47021/47022
787  Content-Length: 26012
788  Content-Type: image/gif
789</pre><p id="rfc.section.5.2.p.11">When an HTTP message includes the content of multiple ranges (for example, a response to a request for multiple non-overlapping
790         ranges), these are transmitted as a multipart message. The multipart media type used for this purpose is "multipart/byteranges"
791         as defined in <a href="#internet.media.type.multipart.byteranges" title="Internet Media Type multipart/byteranges">Appendix&nbsp;A</a>.
792      </p>
793      <p id="rfc.section.5.2.p.12">A response to a request for a single range <em class="bcp14">MUST NOT</em> be sent using the multipart/byteranges media type. A response to a request for multiple ranges, whose result is a single range, <em class="bcp14">MAY</em> be sent as a multipart/byteranges media type with one part. A client that cannot decode a multipart/byteranges message <em class="bcp14">MUST NOT</em> ask for multiple ranges in a single request.
794      </p>
795      <p id="rfc.section.5.2.p.13">When a client requests multiple ranges in one request, the server <em class="bcp14">SHOULD</em> return them in the order that they appeared in the request.
796      </p>
797      <p id="rfc.section.5.2.p.14">If the server ignores a byte-range-spec because it is syntactically invalid, the server <em class="bcp14">SHOULD</em> treat the request as if the invalid Range header field did not exist. (Normally, this means return a 200 response containing
798         the full representation).
799      </p>
800      <p id="rfc.section.5.2.p.15">If the server receives a request (other than one including an If-Range request-header field) with an unsatisfiable Range request-header
801         field (that is, all of whose byte-range-spec values have a first-byte-pos value greater than the current length of the selected
802         resource), it <em class="bcp14">SHOULD</em> return a response code of 416 (Requested range not satisfiable) (<a href="#status.416" id="rfc.xref.status.416.1" title="416 Requested Range Not Satisfiable">Section&nbsp;3.2</a>).
803      </p>
804      <div class="note" id="rfc.section.5.2.p.16"> 
805         <p> <b>Note:</b> Clients cannot depend on servers to send a 416 (Requested range not satisfiable) response instead of a 200 (OK) response for
806            an unsatisfiable Range request-header, since not all servers implement this request-header.
807         </p> 
808      </div>
809      <div id="rfc.iref.i.1"></div>
810      <div id="rfc.iref.h.3"></div>
811      <h2 id="rfc.section.5.3"><a href="#rfc.section.5.3">5.3</a>&nbsp;<a id="header.if-range" href="#header.if-range">If-Range</a></h2>
812      <p id="rfc.section.5.3.p.1">If a client has a partial copy of a representation in its cache, and wishes to have an up-to-date copy of the entire representation
813         in its cache, it could use the Range request-header with a conditional GET (using either or both of If-Unmodified-Since and
814         If-Match.) However, if the condition fails because the representation has been modified, the client would then have to make
815         a second request to obtain the entire current representation.
816      </p>
817      <p id="rfc.section.5.3.p.2">The "If-Range" request-header field allows a client to "short-circuit" the second request. Informally, its meaning is "if
818         the representation is unchanged, send me the part(s) that I am missing; otherwise, send me the entire new representation".
819      </p>
820      <div id="rfc.figure.u.14"></div><pre class="inline"><span id="rfc.iref.g.13"></span><span id="rfc.iref.g.14"></span>  <a href="#header.if-range" class="smpl">If-Range</a>   = "If-Range" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#header.if-range" class="smpl">If-Range-v</a>
821  <a href="#header.if-range" class="smpl">If-Range-v</a> = <a href="#abnf.dependencies" class="smpl">entity-tag</a> / <a href="#abnf.dependencies" class="smpl">HTTP-date</a>
822</pre><p id="rfc.section.5.3.p.4">If the client has no entity-tag for a representation, but does have a Last-Modified date, it <em class="bcp14">MAY</em> use that date in an If-Range header. (The server can distinguish between a valid HTTP-date and any form of entity-tag by examining
823         no more than two characters.) The If-Range header <em class="bcp14">SHOULD</em> only be used together with a Range header, and <em class="bcp14">MUST</em> be ignored if the request does not include a Range header, or if the server does not support the sub-range operation.
824      </p>
825      <p id="rfc.section.5.3.p.5">If the entity-tag given in the If-Range header matches the current cache validator for the representation, then the server <em class="bcp14">SHOULD</em> provide the specified sub-range of the representation using a 206 (Partial Content) response. If the cache validator does
826         not match, then the server <em class="bcp14">SHOULD</em> return the entire representation using a 200 (OK) response.
827      </p>
828      <div id="rfc.iref.r.1"></div>
829      <div id="rfc.iref.h.4"></div>
830      <h2 id="rfc.section.5.4"><a href="#rfc.section.5.4">5.4</a>&nbsp;<a id="header.range" href="#header.range">Range</a></h2>
831      <h3 id="rfc.section.5.4.1"><a href="#rfc.section.5.4.1">5.4.1</a>&nbsp;<a id="byte.ranges" href="#byte.ranges">Byte Ranges</a></h3>
832      <p id="rfc.section.5.4.1.p.1">Since all HTTP representations are transferred as sequences of bytes, the concept of a byte range is meaningful for any HTTP
833         representation. (However, not all clients and servers need to support byte-range operations.)
834      </p>
835      <p id="rfc.section.5.4.1.p.2">Byte range specifications in HTTP apply to the sequence of bytes in the representation body (not necessarily the same as the
836         message-body).
837      </p>
838      <div id="rule.ranges-specifier">
839         <p id="rfc.section.5.4.1.p.3">                A byte range operation <em class="bcp14">MAY</em> specify a single range of bytes, or a set of ranges within a single representation.
840         </p>
841      </div>
842      <div id="rfc.figure.u.15"></div><pre class="inline"><span id="rfc.iref.g.15"></span><span id="rfc.iref.g.16"></span><span id="rfc.iref.g.17"></span><span id="rfc.iref.g.18"></span><span id="rfc.iref.g.19"></span><span id="rfc.iref.g.20"></span>  <a href="#rule.ranges-specifier" class="smpl">byte-ranges-specifier</a> = <a href="#range.units" class="smpl">bytes-unit</a> "=" <a href="#rule.ranges-specifier" class="smpl">byte-range-set</a>
843  <a href="#rule.ranges-specifier" class="smpl">byte-range-set</a>  = 1#( <a href="#rule.ranges-specifier" class="smpl">byte-range-spec</a> / <a href="#rule.ranges-specifier" class="smpl">suffix-byte-range-spec</a> )
844  <a href="#rule.ranges-specifier" class="smpl">byte-range-spec</a> = <a href="#rule.ranges-specifier" class="smpl">first-byte-pos</a> "-" [ <a href="#rule.ranges-specifier" class="smpl">last-byte-pos</a> ]
845  <a href="#rule.ranges-specifier" class="smpl">first-byte-pos</a>  = 1*<a href="#notation" class="smpl">DIGIT</a>
846  <a href="#rule.ranges-specifier" class="smpl">last-byte-pos</a>   = 1*<a href="#notation" class="smpl">DIGIT</a>
847</pre><p id="rfc.section.5.4.1.p.5">The first-byte-pos value in a byte-range-spec gives the byte-offset of the first byte in a range. The last-byte-pos value
848         gives the byte-offset of the last byte in the range; that is, the byte positions specified are inclusive. Byte offsets start
849         at zero.
850      </p>
851      <p id="rfc.section.5.4.1.p.6">If the last-byte-pos value is present, it <em class="bcp14">MUST</em> be greater than or equal to the first-byte-pos in that byte-range-spec, or the byte-range-spec is syntactically invalid. The
852         recipient of a byte-range-set that includes one or more syntactically invalid byte-range-spec values <em class="bcp14">MUST</em> ignore the header field that includes that byte-range-set.
853      </p>
854      <p id="rfc.section.5.4.1.p.7">If the last-byte-pos value is absent, or if the value is greater than or equal to the current length of the representation
855         body, last-byte-pos is taken to be equal to one less than the current length of the representation in bytes.
856      </p>
857      <p id="rfc.section.5.4.1.p.8">By its choice of last-byte-pos, a client can limit the number of bytes retrieved without knowing the size of the representation.</p>
858      <div id="rfc.figure.u.16"></div><pre class="inline"><span id="rfc.iref.g.21"></span><span id="rfc.iref.g.22"></span>  <a href="#rule.ranges-specifier" class="smpl">suffix-byte-range-spec</a> = "-" <a href="#rule.ranges-specifier" class="smpl">suffix-length</a>
859  <a href="#rule.ranges-specifier" class="smpl">suffix-length</a> = 1*<a href="#notation" class="smpl">DIGIT</a>
860</pre><p id="rfc.section.5.4.1.p.10">A suffix-byte-range-spec is used to specify the suffix of the representation body, of a length given by the suffix-length
861         value. (That is, this form specifies the last N bytes of a representation.) If the representation is shorter than the specified
862         suffix-length, the entire representation is used.
863      </p>
864      <p id="rfc.section.5.4.1.p.11">If a syntactically valid byte-range-set includes at least one byte-range-spec whose first-byte-pos is less than the current
865         length of the representation, or at least one suffix-byte-range-spec with a non-zero suffix-length, then the byte-range-set
866         is satisfiable. Otherwise, the byte-range-set is unsatisfiable. If the byte-range-set is unsatisfiable, the server <em class="bcp14">SHOULD</em> return a response with a 416 (Requested range not satisfiable) status code. Otherwise, the server <em class="bcp14">SHOULD</em> return a response with a 206 (Partial Content) status code containing the satisfiable ranges of the representation.
867      </p>
868      <p id="rfc.section.5.4.1.p.12">Examples of byte-ranges-specifier values (assuming a representation of length 10000): </p>
869      <ul>
870         <li>The first 500 bytes (byte offsets 0-499, inclusive):
871            <div id="rfc.figure.u.17"></div><pre class="text">  bytes=0-499
872</pre> </li>
873         <li>The second 500 bytes (byte offsets 500-999, inclusive):
874            <div id="rfc.figure.u.18"></div><pre class="text">  bytes=500-999
875</pre> </li>
876         <li>The final 500 bytes (byte offsets 9500-9999, inclusive):
877            <div id="rfc.figure.u.19"></div><pre class="text">  bytes=-500
878</pre> Or: <div id="rfc.figure.u.20"></div><pre class="text">  bytes=9500-
879</pre> </li>
880         <li>The first and last bytes only (bytes 0 and 9999):
881            <div id="rfc.figure.u.21"></div><pre class="text">  bytes=0-0,-1
882</pre> </li>
883         <li>Several legal but not canonical specifications of the second 500 bytes (byte offsets 500-999, inclusive):
884            <div id="rfc.figure.u.22"></div><pre class="text">  bytes=500-600,601-999
885  bytes=500-700,601-999
886</pre> </li>
887      </ul>
888      <h3 id="rfc.section.5.4.2"><a href="#rfc.section.5.4.2">5.4.2</a>&nbsp;<a id="range.retrieval.requests" href="#range.retrieval.requests">Range Retrieval Requests</a></h3>
889      <p id="rfc.section.5.4.2.p.1">The "Range" request-header field defines the GET method (conditional or not) to request one or more sub-ranges of the response
890         representation body, instead of the entire representation body.
891      </p>
892      <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>
893  <a href="#range.retrieval.requests" class="smpl">Range-v</a> = <a href="#rule.ranges-specifier" class="smpl">byte-ranges-specifier</a>
894          / <a href="#range.retrieval.requests" class="smpl">other-ranges-specifier</a>
895  <a href="#range.retrieval.requests" class="smpl">other-ranges-specifier</a> = <a href="#range.units" class="smpl">other-range-unit</a> "=" <a href="#range.retrieval.requests" class="smpl">other-range-set</a>
896  <a href="#range.retrieval.requests" class="smpl">other-range-set</a> = 1*<a href="#notation" class="smpl">CHAR</a>
897</pre><p id="rfc.section.5.4.2.p.3">A server <em class="bcp14">MAY</em> ignore the Range header. However, HTTP/1.1 origin servers and intermediate caches ought to support byte ranges when possible,
898         since Range supports efficient recovery from partially failed transfers, and supports efficient partial retrieval of large
899         representations.
900      </p>
901      <p id="rfc.section.5.4.2.p.4">If the server supports the Range header and the specified range or ranges are appropriate for the representation: </p>
902      <ul>
903         <li>The presence of a Range header in an unconditional GET modifies what is returned if the GET is otherwise successful. In other
904            words, the response carries a status code of 206 (Partial Content) instead of 200 (OK).
905         </li>
906         <li>The presence of a Range header in a conditional GET (a request using one or both of If-Modified-Since and If-None-Match, or
907            one or both of If-Unmodified-Since and If-Match) modifies what is returned if the GET is otherwise successful and the condition
908            is true. It does not affect the 304 (Not Modified) response returned if the conditional is false.
909         </li>
910      </ul>
911      <p id="rfc.section.5.4.2.p.5">In some cases, it might be more appropriate to use the If-Range header (see <a href="#header.if-range" id="rfc.xref.header.if-range.3" title="If-Range">Section&nbsp;5.3</a>) in addition to the Range header.
912      </p>
913      <p id="rfc.section.5.4.2.p.6">If a proxy that supports ranges receives a Range request, forwards the request to an inbound server, and receives an entire
914         representation in reply, it <em class="bcp14">SHOULD</em> only return the requested range to its client. It <em class="bcp14">SHOULD</em> store the entire received response in its cache if that is consistent with its cache allocation policies.
915      </p>
916      <h1 id="rfc.section.6"><a href="#rfc.section.6">6.</a>&nbsp;<a id="IANA.considerations" href="#IANA.considerations">IANA Considerations</a></h1>
917      <h2 id="rfc.section.6.1"><a href="#rfc.section.6.1">6.1</a>&nbsp;<a id="status.code.registration" href="#status.code.registration">Status Code Registration</a></h2>
918      <p id="rfc.section.6.1.p.1">The HTTP Status Code Registry located at &lt;<a href="http://www.iana.org/assignments/http-status-codes">http://www.iana.org/assignments/http-status-codes</a>&gt; shall be updated with the registrations below:
919      </p>
920      <div id="rfc.table.1">
921         <div id="iana.status.code.registration.table"></div>
922         <table class="tt full left" cellpadding="3" cellspacing="0">
923            <thead>
924               <tr>
925                  <th>Value</th>
926                  <th>Description</th>
927                  <th>Reference</th>
928               </tr>
929            </thead>
930            <tbody>
931               <tr>
932                  <td class="left">206</td>
933                  <td class="left">Partial Content</td>
934                  <td class="left"> <a href="#status.206" id="rfc.xref.status.206.1" title="206 Partial Content">Section&nbsp;3.1</a> 
935                  </td>
936               </tr>
937               <tr>
938                  <td class="left">416</td>
939                  <td class="left">Requested Range Not Satisfiable</td>
940                  <td class="left"> <a href="#status.416" id="rfc.xref.status.416.2" title="416 Requested Range Not Satisfiable">Section&nbsp;3.2</a> 
941                  </td>
942               </tr>
943            </tbody>
944         </table>
945      </div>
946      <h2 id="rfc.section.6.2"><a href="#rfc.section.6.2">6.2</a>&nbsp;<a id="header.field.registration" href="#header.field.registration">Header Field Registration</a></h2>
947      <p id="rfc.section.6.2.p.1">The Message Header Field Registry located at &lt;<a href="http://www.iana.org/assignments/message-headers/message-header-index.html">http://www.iana.org/assignments/message-headers/message-header-index.html</a>&gt; shall be updated with the permanent registrations below (see <a href="#RFC3864" id="rfc.xref.RFC3864.1"><cite title="Registration Procedures for Message Header Fields">[RFC3864]</cite></a>):
948      </p>
949      <div id="rfc.table.2">
950         <div id="iana.header.registration.table"></div>
951         <table class="tt full left" cellpadding="3" cellspacing="0">
952            <thead>
953               <tr>
954                  <th>Header Field Name</th>
955                  <th>Protocol</th>
956                  <th>Status</th>
957                  <th>Reference</th>
958               </tr>
959            </thead>
960            <tbody>
961               <tr>
962                  <td class="left">Accept-Ranges</td>
963                  <td class="left">http</td>
964                  <td class="left">standard</td>
965                  <td class="left"> <a href="#header.accept-ranges" id="rfc.xref.header.accept-ranges.1" title="Accept-Ranges">Section&nbsp;5.1</a> 
966                  </td>
967               </tr>
968               <tr>
969                  <td class="left">Content-Range</td>
970                  <td class="left">http</td>
971                  <td class="left">standard</td>
972                  <td class="left"> <a href="#header.content-range" id="rfc.xref.header.content-range.4" title="Content-Range">Section&nbsp;5.2</a> 
973                  </td>
974               </tr>
975               <tr>
976                  <td class="left">If-Range</td>
977                  <td class="left">http</td>
978                  <td class="left">standard</td>
979                  <td class="left"> <a href="#header.if-range" id="rfc.xref.header.if-range.4" title="If-Range">Section&nbsp;5.3</a> 
980                  </td>
981               </tr>
982               <tr>
983                  <td class="left">Range</td>
984                  <td class="left">http</td>
985                  <td class="left">standard</td>
986                  <td class="left"> <a href="#header.range" id="rfc.xref.header.range.5" title="Range">Section&nbsp;5.4</a> 
987                  </td>
988               </tr>
989            </tbody>
990         </table>
991      </div>
992      <p id="rfc.section.6.2.p.2">The change controller is: "IETF (iesg@ietf.org) - Internet Engineering Task Force".</p>
993      <h2 id="rfc.section.6.3"><a href="#rfc.section.6.3">6.3</a>&nbsp;<a id="range.specifier.registration" href="#range.specifier.registration">Range Specifier Registration</a></h2>
994      <p id="rfc.section.6.3.p.1">The registration procedure for HTTP Range Specifiers is defined by <a href="#range.specifier.registry" title="Range Specifier Registry">Section&nbsp;2.1</a> of this document.
995      </p>
996      <p id="rfc.section.6.3.p.2">The HTTP Range Specifier Registry shall be created at &lt;<a href="http://www.iana.org/assignments/http-range-specifiers">http://www.iana.org/assignments/http-range-specifiers</a>&gt; and be populated with the registrations below:
997      </p>
998      <div id="rfc.table.3">
999         <div id="iana.range.specifiers.table"></div>
1000         <table class="tt full left" cellpadding="3" cellspacing="0">
1001            <thead>
1002               <tr>
1003                  <th>Range Specifier Name</th>
1004                  <th>Description</th>
1005                  <th>Reference</th>
1006               </tr>
1007            </thead>
1008            <tbody>
1009               <tr>
1010                  <td class="left">bytes</td>
1011                  <td class="left">a range of octets</td>
1012                  <td class="left">(this specification)</td>
1013               </tr>
1014            </tbody>
1015         </table>
1016      </div>
1017      <p id="rfc.section.6.3.p.3">The change controller is: "IETF (iesg@ietf.org) - Internet Engineering Task Force".</p>
1018      <h1 id="rfc.section.7"><a href="#rfc.section.7">7.</a>&nbsp;<a id="security.considerations" href="#security.considerations">Security Considerations</a></h1>
1019      <p id="rfc.section.7.p.1">No additional security considerations have been identified beyond those applicable to HTTP in general <a href="#Part1" id="rfc.xref.Part1.6"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>.
1020      </p>
1021      <h1 id="rfc.section.8"><a href="#rfc.section.8">8.</a>&nbsp;<a id="ack" href="#ack">Acknowledgments</a></h1>
1022      <p id="rfc.section.8.p.1">Most of the specification of ranges is based on work originally done by Ari Luotonen and John Franks, with additional input
1023         from Steve Zilles, Daniel W. Connolly, Roy T. Fielding, Jim Gettys, Martin Hamilton, Koen Holtman, Shel Kaplan, Paul Leach,
1024         Alex Lopez-Ortiz, Larry Masinter, Jeff Mogul, Lou Montulli, David W. Morris, Luigi Rizzo, and Bill Weihl.
1025      </p>
1026      <h1 id="rfc.references"><a id="rfc.section.9" href="#rfc.section.9">9.</a> References
1027      </h1>
1028      <h2 id="rfc.references.1"><a href="#rfc.section.9.1" id="rfc.section.9.1">9.1</a> Normative References
1029      </h2>
1030      <table>         
1031         <tr>
1032            <td class="reference"><b id="Part1">[Part1]</b></td>
1033            <td class="top"><a href="mailto:fielding@gbiv.com" title="Day Software">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems, Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-11">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-11 (work in progress), August&nbsp;2010.
1034            </td>
1035         </tr>
1036         <tr>
1037            <td class="reference"><b id="Part4">[Part4]</b></td>
1038            <td class="top"><a href="mailto:fielding@gbiv.com" title="Day Software">Fielding, R., Ed.</a>, <a href="mailto:jg@freedesktop.org" title="Alcatel-Lucent Bell Labs">Gettys, J.</a>, <a href="mailto:JeffMogul@acm.org" title="Hewlett-Packard Company">Mogul, J.</a>, <a href="mailto:henrikn@microsoft.com" title="Microsoft Corporation">Frystyk, H.</a>, <a href="mailto:LMM@acm.org" title="Adobe Systems, Incorporated">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, <a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:ylafon@w3.org" title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">J. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-11">HTTP/1.1, part 4: Conditional Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p4-conditional-11 (work in progress), August&nbsp;2010.
1039            </td>
1040         </tr>
1041         <tr>
1042            <td class="reference"><b id="RFC2046">[RFC2046]</b></td>
1043            <td class="top"><a href="mailto:ned@innosoft.com" title="Innosoft International, Inc.">Freed, N.</a> and <a href="mailto:nsb@nsb.fv.com" title="First Virtual Holdings">N. Borenstein</a>, “<a href="http://tools.ietf.org/html/rfc2046">Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types</a>”, RFC&nbsp;2046, November&nbsp;1996.
1044            </td>
1045         </tr>
1046         <tr>
1047            <td class="reference"><b id="RFC2119">[RFC2119]</b></td>
1048            <td class="top"><a href="mailto:sob@harvard.edu" title="Harvard University">Bradner, S.</a>, “<a href="http://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a>”, BCP&nbsp;14, RFC&nbsp;2119, March&nbsp;1997.
1049            </td>
1050         </tr>
1051         <tr>
1052            <td class="reference"><b id="RFC5234">[RFC5234]</b></td>
1053            <td class="top"><a href="mailto:dcrocker@bbiw.net" title="Brandenburg InternetWorking">Crocker, D., Ed.</a> and <a href="mailto:paul.overell@thus.net" title="THUS plc.">P. Overell</a>, “<a href="http://tools.ietf.org/html/rfc5234">Augmented BNF for Syntax Specifications: ABNF</a>”, STD&nbsp;68, RFC&nbsp;5234, January&nbsp;2008.
1054            </td>
1055         </tr>
1056      </table>
1057      <h2 id="rfc.references.2"><a href="#rfc.section.9.2" id="rfc.section.9.2">9.2</a> Informative References
1058      </h2>
1059      <table>       
1060         <tr>
1061            <td class="reference"><b id="RFC2616">[RFC2616]</b></td>
1062            <td class="top"><a href="mailto:fielding@ics.uci.edu" title="University of California, Irvine">Fielding, R.</a>, <a href="mailto:jg@w3.org" title="W3C">Gettys, J.</a>, <a href="mailto:mogul@wrl.dec.com" title="Compaq Computer Corporation">Mogul, J.</a>, <a href="mailto:frystyk@w3.org" title="MIT Laboratory for Computer Science">Frystyk, H.</a>, <a href="mailto:masinter@parc.xerox.com" title="Xerox Corporation">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.</a>, and <a href="mailto:timbl@w3.org" title="W3C">T. Berners-Lee</a>, “<a href="http://tools.ietf.org/html/rfc2616">Hypertext Transfer Protocol -- HTTP/1.1</a>”, RFC&nbsp;2616, June&nbsp;1999.
1063            </td>
1064         </tr>
1065         <tr>
1066            <td class="reference"><b id="RFC3864">[RFC3864]</b></td>
1067            <td class="top"><a href="mailto:GK-IETF@ninebynine.org" title="Nine by Nine">Klyne, G.</a>, <a href="mailto:mnot@pobox.com" title="BEA Systems">Nottingham, M.</a>, and <a href="mailto:JeffMogul@acm.org" title="HP Labs">J. Mogul</a>, “<a href="http://tools.ietf.org/html/rfc3864">Registration Procedures for Message Header Fields</a>”, BCP&nbsp;90, RFC&nbsp;3864, September&nbsp;2004.
1068            </td>
1069         </tr>
1070         <tr>
1071            <td class="reference"><b id="RFC4288">[RFC4288]</b></td>
1072            <td class="top"><a href="mailto:ned.freed@mrochek.com" title="Sun Microsystems">Freed, N.</a> and <a href="mailto:klensin+ietf@jck.com">J. Klensin</a>, “<a href="http://tools.ietf.org/html/rfc4288">Media Type Specifications and Registration Procedures</a>”, BCP&nbsp;13, RFC&nbsp;4288, December&nbsp;2005.
1073            </td>
1074         </tr>
1075         <tr>
1076            <td class="reference"><b id="RFC5226">[RFC5226]</b></td>
1077            <td class="top"><a href="mailto:narten@us.ibm.com" title="IBM">Narten, T.</a> and <a href="mailto:Harald@Alvestrand.no" title="Google">H. Alvestrand</a>, “<a href="http://tools.ietf.org/html/rfc5226">Guidelines for Writing an IANA Considerations Section in RFCs</a>”, BCP&nbsp;26, RFC&nbsp;5226, May&nbsp;2008.
1078            </td>
1079         </tr>
1080      </table>
1081      <div class="avoidbreak">
1082         <h1 id="rfc.authors"><a href="#rfc.authors">Authors' Addresses</a></h1>
1083         <address class="vcard"><span class="vcardline"><span class="fn">Roy T. Fielding</span>
1084               (editor)
1085               <span class="n hidden"><span class="family-name">Fielding</span><span class="given-name">Roy T.</span></span></span><span class="org vcardline">Day Software</span><span class="adr"><span class="street-address vcardline">23 Corporate Plaza DR, Suite 280</span><span class="vcardline"><span class="locality">Newport Beach</span>, <span class="region">CA</span>&nbsp;<span class="postal-code">92660</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline tel">Phone: <a href="tel:+1-949-706-5300"><span class="value">+1-949-706-5300</span></a></span><span class="vcardline tel"><span class="type">Fax</span>: <a href="fax:+1-949-706-5305"><span class="value">+1-949-706-5305</span></a></span><span class="vcardline">Email: <a href="mailto:fielding@gbiv.com"><span class="email">fielding@gbiv.com</span></a></span><span class="vcardline">URI: <a href="http://roy.gbiv.com/" class="url">http://roy.gbiv.com/</a></span></address>
1086         <address class="vcard"><span class="vcardline"><span class="fn">Jim Gettys</span><span class="n hidden"><span class="family-name">Gettys</span><span class="given-name">Jim</span></span></span><span class="org vcardline">Alcatel-Lucent Bell Labs</span><span class="adr"><span class="street-address vcardline">21 Oak Knoll Road</span><span class="vcardline"><span class="locality">Carlisle</span>, <span class="region">MA</span>&nbsp;<span class="postal-code">01741</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">Email: <a href="mailto:jg@freedesktop.org"><span class="email">jg@freedesktop.org</span></a></span><span class="vcardline">URI: <a href="http://gettys.wordpress.com/" class="url">http://gettys.wordpress.com/</a></span></address>
1087         <address class="vcard"><span class="vcardline"><span class="fn">Jeffrey C. Mogul</span><span class="n hidden"><span class="family-name">Mogul</span><span class="given-name">Jeffrey C.</span></span></span><span class="org vcardline">Hewlett-Packard Company</span><span class="adr"><span class="street-address vcardline">HP Labs, Large Scale Systems Group</span><span class="street-address vcardline">1501 Page Mill Road, MS 1177</span><span class="vcardline"><span class="locality">Palo Alto</span>, <span class="region">CA</span>&nbsp;<span class="postal-code">94304</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">Email: <a href="mailto:JeffMogul@acm.org"><span class="email">JeffMogul@acm.org</span></a></span></address>
1088         <address class="vcard"><span class="vcardline"><span class="fn">Henrik Frystyk Nielsen</span><span class="n hidden"><span class="family-name">Frystyk</span></span></span><span class="org vcardline">Microsoft Corporation</span><span class="adr"><span class="street-address vcardline">1 Microsoft Way</span><span class="vcardline"><span class="locality">Redmond</span>, <span class="region">WA</span>&nbsp;<span class="postal-code">98052</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">Email: <a href="mailto:henrikn@microsoft.com"><span class="email">henrikn@microsoft.com</span></a></span></address>
1089         <address class="vcard"><span class="vcardline"><span class="fn">Larry Masinter</span><span class="n hidden"><span class="family-name">Masinter</span><span class="given-name">Larry</span></span></span><span class="org vcardline">Adobe Systems, Incorporated</span><span class="adr"><span class="street-address vcardline">345 Park Ave</span><span class="vcardline"><span class="locality">San Jose</span>, <span class="region">CA</span>&nbsp;<span class="postal-code">95110</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">Email: <a href="mailto:LMM@acm.org"><span class="email">LMM@acm.org</span></a></span><span class="vcardline">URI: <a href="http://larry.masinter.net/" class="url">http://larry.masinter.net/</a></span></address>
1090         <address class="vcard"><span class="vcardline"><span class="fn">Paul J. Leach</span><span class="n hidden"><span class="family-name">Leach</span><span class="given-name">Paul J.</span></span></span><span class="org vcardline">Microsoft Corporation</span><span class="adr"><span class="street-address vcardline">1 Microsoft Way</span><span class="vcardline"><span class="locality">Redmond</span>, <span class="region">WA</span>&nbsp;<span class="postal-code">98052</span></span></span><span class="vcardline">Email: <a href="mailto:paulle@microsoft.com"><span class="email">paulle@microsoft.com</span></a></span></address>
1091         <address class="vcard"><span class="vcardline"><span class="fn">Tim Berners-Lee</span><span class="n hidden"><span class="family-name">Berners-Lee</span><span class="given-name">Tim</span></span></span><span class="org vcardline">World Wide Web Consortium</span><span class="adr"><span class="street-address vcardline">MIT Computer Science and Artificial Intelligence Laboratory</span><span class="street-address vcardline">The Stata Center, Building 32</span><span class="street-address vcardline">32 Vassar Street</span><span class="vcardline"><span class="locality">Cambridge</span>, <span class="region">MA</span>&nbsp;<span class="postal-code">02139</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">Email: <a href="mailto:timbl@w3.org"><span class="email">timbl@w3.org</span></a></span><span class="vcardline">URI: <a href="http://www.w3.org/People/Berners-Lee/" class="url">http://www.w3.org/People/Berners-Lee/</a></span></address>
1092         <address class="vcard"><span class="vcardline"><span class="fn">Yves Lafon</span>
1093               (editor)
1094               <span class="n hidden"><span class="family-name">Lafon</span><span class="given-name">Yves</span></span></span><span class="org vcardline">World Wide Web Consortium</span><span class="adr"><span class="street-address vcardline">W3C / ERCIM</span><span class="street-address vcardline">2004, rte des Lucioles</span><span class="vcardline"><span class="locality">Sophia-Antipolis</span>, <span class="region">AM</span>&nbsp;<span class="postal-code">06902</span></span><span class="country-name vcardline">France</span></span><span class="vcardline">Email: <a href="mailto:ylafon@w3.org"><span class="email">ylafon@w3.org</span></a></span><span class="vcardline">URI: <a href="http://www.raubacapeu.net/people/yves/" class="url">http://www.raubacapeu.net/people/yves/</a></span></address>
1095         <address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span>
1096               (editor)
1097               <span class="n hidden"><span class="family-name">Reschke</span><span class="given-name">Julian F.</span></span></span><span class="org vcardline">greenbytes GmbH</span><span class="adr"><span class="street-address vcardline">Hafenweg 16</span><span class="vcardline"><span class="locality">Muenster</span>, <span class="region">NW</span>&nbsp;<span class="postal-code">48155</span></span><span class="country-name vcardline">Germany</span></span><span class="vcardline tel">Phone: <a href="tel:+492512807760"><span class="value">+49 251 2807760</span></a></span><span class="vcardline tel"><span class="type">Fax</span>: <a href="fax:+492512807761"><span class="value">+49 251 2807761</span></a></span><span class="vcardline">Email: <a href="mailto:julian.reschke@greenbytes.de"><span class="email">julian.reschke@greenbytes.de</span></a></span><span class="vcardline">URI: <a href="http://greenbytes.de/tech/webdav/" class="url">http://greenbytes.de/tech/webdav/</a></span></address>
1098      </div>
1099      <div id="rfc.iref.m.1"></div>
1100      <div id="rfc.iref.m.2"></div>
1101      <h1 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a>&nbsp;<a id="internet.media.type.multipart.byteranges" href="#internet.media.type.multipart.byteranges">Internet Media Type multipart/byteranges</a></h1>
1102      <p id="rfc.section.A.p.1">When an HTTP 206 (Partial Content) response message includes the content of multiple ranges (a response to a request for multiple
1103         non-overlapping ranges), these are transmitted as a multipart message-body (<a href="#RFC2046" id="rfc.xref.RFC2046.1"><cite title="Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types">[RFC2046]</cite></a>, <a href="http://tools.ietf.org/html/rfc2046#section-5.1">Section 5.1</a>). The media type for this purpose is called "multipart/byteranges". The following is to be registered with IANA <a href="#RFC4288" id="rfc.xref.RFC4288.1"><cite title="Media Type Specifications and Registration Procedures">[RFC4288]</cite></a>.
1104      </p>
1105      <div class="note" id="rfc.section.A.p.2"> 
1106         <p> <b>Note:</b> Despite the name "multipart/byteranges" is not limited to the byte ranges only.
1107         </p> 
1108      </div>
1109      <p id="rfc.section.A.p.3">The multipart/byteranges media type includes one or more parts, each with its own Content-Type and Content-Range fields. The
1110         required boundary parameter specifies the boundary string used to separate each body-part.
1111      </p>
1112      <p id="rfc.section.A.p.4"> </p>
1113      <dl>
1114         <dt>Type name:</dt>
1115         <dd>multipart</dd>
1116         <dt>Subtype name:</dt>
1117         <dd>byteranges</dd>
1118         <dt>Required parameters:</dt>
1119         <dd>boundary</dd>
1120         <dt>Optional parameters:</dt>
1121         <dd>none</dd>
1122         <dt>Encoding considerations:</dt>
1123         <dd>only "7bit", "8bit", or "binary" are permitted</dd>
1124         <dt>Security considerations:</dt>
1125         <dd>none</dd>
1126         <dt>Interoperability considerations:</dt>
1127         <dd>none</dd>
1128         <dt>Published specification:</dt>
1129         <dd>This specification (see <a href="#internet.media.type.multipart.byteranges" title="Internet Media Type multipart/byteranges">Appendix&nbsp;A</a>).
1130         </dd>
1131         <dt>Applications that use this media type:</dt>
1132         <dt>Additional information:</dt>
1133         <dd> 
1134            <dl>
1135               <dt>Magic number(s):</dt>
1136               <dd>none</dd>
1137               <dt>File extension(s):</dt>
1138               <dd>none</dd>
1139               <dt>Macintosh file type code(s):</dt>
1140               <dd>none</dd>
1141            </dl> 
1142         </dd>
1143         <dt>Person and email address to contact for further information:</dt>
1144         <dd>See Authors Section.</dd>
1145         <dt>Intended usage:</dt>
1146         <dd>COMMON</dd>
1147         <dt>Restrictions on usage:</dt>
1148         <dd>none</dd>
1149         <dt>Author/Change controller:</dt>
1150         <dd>IESG</dd>
1151      </dl>
1152      <div id="rfc.figure.u.24"></div>
1153      <p>For example:</p><pre class="text">  HTTP/1.1 206 Partial Content
1154  Date: Wed, 15 Nov 1995 06:25:24 GMT
1155  Last-Modified: Wed, 15 Nov 1995 04:58:08 GMT
1156  Content-type: multipart/byteranges; boundary=THIS_STRING_SEPARATES
1157 
1158  --THIS_STRING_SEPARATES
1159  Content-type: application/pdf
1160  Content-range: bytes 500-999/8000
1161 
1162  ...the first range...
1163  --THIS_STRING_SEPARATES
1164  Content-type: application/pdf
1165  Content-range: bytes 7000-7999/8000
1166 
1167  ...the second range
1168  --THIS_STRING_SEPARATES--
1169</pre><div id="rfc.figure.u.25"></div>
1170      <p>Other example:</p>  <pre class="text">  HTTP/1.1 206 Partial Content
1171  Date: Tue, 14 Nov 1995 06:25:24 GMT
1172  Last-Modified: Tue, 14 July 04:58:08 GMT
1173  Content-type: multipart/byteranges; boundary=THIS_STRING_SEPARATES
1174 
1175  --THIS_STRING_SEPARATES
1176  Content-type: video/example
1177  Content-range: exampleunit 1.2-4.3/25
1178 
1179  ...the first range...
1180  --THIS_STRING_SEPARATES
1181  Content-type: video/example
1182  Content-range: exampleunit 11.2-14.3/25
1183 
1184  ...the second range
1185  --THIS_STRING_SEPARATES--
1186</pre> <p id="rfc.section.A.p.7">Notes: </p>
1187      <ol>
1188         <li>Additional CRLFs <em class="bcp14">MAY</em> precede the first boundary string in the body.
1189         </li>
1190         <li>Although <a href="#RFC2046" id="rfc.xref.RFC2046.2"><cite title="Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types">[RFC2046]</cite></a> permits the boundary string to be quoted, some existing implementations handle a quoted boundary string incorrectly.
1191         </li>
1192         <li>A number of browsers and servers were coded to an early draft of the byteranges specification to use a media type of multipart/x-byteranges<span id="rfc.iref.m.3"></span><span id="rfc.iref.m.4"></span>, which is almost, but not quite compatible with the version documented in HTTP/1.1.
1193         </li>
1194      </ol>
1195      <h1 id="rfc.section.B"><a href="#rfc.section.B">B.</a>&nbsp;<a id="compatibility" href="#compatibility">Compatibility with Previous Versions</a></h1>
1196      <h2 id="rfc.section.B.1"><a href="#rfc.section.B.1">B.1</a>&nbsp;<a id="changes.from.rfc.2616" href="#changes.from.rfc.2616">Changes from RFC 2616</a></h2>
1197      <p id="rfc.section.B.1.p.1">Clarify that it is not ok to use a weak cache validator in a 206 response. (<a href="#status.206" id="rfc.xref.status.206.2" title="206 Partial Content">Section&nbsp;3.1</a>)
1198      </p>
1199      <p id="rfc.section.B.1.p.2">Clarify that multipart/byteranges can consist of a single part. (<a href="#internet.media.type.multipart.byteranges" title="Internet Media Type multipart/byteranges">Appendix&nbsp;A</a>)
1200      </p>
1201      <h1 id="rfc.section.C"><a href="#rfc.section.C">C.</a>&nbsp;<a id="collected.abnf" href="#collected.abnf">Collected ABNF</a></h1>
1202      <div id="rfc.figure.u.26"></div> <pre class="inline"><a href="#header.accept-ranges" class="smpl">Accept-Ranges</a> = "Accept-Ranges:" OWS Accept-Ranges-v
1203<a href="#header.accept-ranges" class="smpl">Accept-Ranges-v</a> = acceptable-ranges
1204
1205<a href="#header.content-range" class="smpl">Content-Range</a> = "Content-Range:" OWS Content-Range-v
1206<a href="#header.content-range" class="smpl">Content-Range-v</a> = content-range-spec
1207
1208<a href="#abnf.dependencies" class="smpl">HTTP-date</a> = &lt;HTTP-date, defined in [Part1], Section 6.1&gt;
1209
1210<a href="#header.if-range" class="smpl">If-Range</a> = "If-Range:" OWS If-Range-v
1211<a href="#header.if-range" class="smpl">If-Range-v</a> = entity-tag / HTTP-date
1212
1213<a href="#core.rules" class="smpl">OWS</a> = &lt;OWS, defined in [Part1], Section 1.2.2&gt;
1214
1215<a href="#range.retrieval.requests" class="smpl">Range</a> = "Range:" OWS Range-v
1216<a href="#range.retrieval.requests" class="smpl">Range-v</a> = byte-ranges-specifier / other-ranges-specifier
1217
1218<a href="#header.accept-ranges" class="smpl">acceptable-ranges</a> = ( *( "," OWS ) range-unit *( OWS "," [ OWS
1219 range-unit ] ) ) / "none"
1220
1221<a href="#header.content-range" class="smpl">byte-content-range-spec</a> = bytes-unit SP byte-range-resp-spec "/" (
1222 instance-length / "*" )
1223<a href="#header.content-range" class="smpl">byte-range-resp-spec</a> = ( first-byte-pos "-" last-byte-pos ) / "*"
1224<a href="#rule.ranges-specifier" class="smpl">byte-range-set</a> = ( *( "," OWS ) byte-range-spec ) / (
1225 suffix-byte-range-spec *( OWS "," [ ( OWS byte-range-spec ) /
1226 suffix-byte-range-spec ] ) )
1227<a href="#rule.ranges-specifier" class="smpl">byte-range-spec</a> = first-byte-pos "-" [ last-byte-pos ]
1228<a href="#rule.ranges-specifier" class="smpl">byte-ranges-specifier</a> = bytes-unit "=" byte-range-set
1229<a href="#range.units" class="smpl">bytes-unit</a> = "bytes"
1230
1231<a href="#header.content-range" class="smpl">content-range-spec</a> = byte-content-range-spec /
1232 other-content-range-spec
1233
1234<a href="#abnf.dependencies" class="smpl">entity-tag</a> = &lt;entity-tag, defined in [Part4], Section 2&gt;
1235
1236<a href="#rule.ranges-specifier" class="smpl">first-byte-pos</a> = 1*DIGIT
1237
1238<a href="#header.content-range" class="smpl">instance-length</a> = 1*DIGIT
1239
1240<a href="#rule.ranges-specifier" class="smpl">last-byte-pos</a> = 1*DIGIT
1241
1242<a href="#header.content-range" class="smpl">other-content-range-spec</a> = other-range-unit SP other-range-resp-spec
1243<a href="#header.content-range" class="smpl">other-range-resp-spec</a> = *CHAR
1244<a href="#range.retrieval.requests" class="smpl">other-range-set</a> = 1*CHAR
1245<a href="#range.units" class="smpl">other-range-unit</a> = token
1246<a href="#range.retrieval.requests" class="smpl">other-ranges-specifier</a> = other-range-unit "=" other-range-set
1247
1248<a href="#range.units" class="smpl">range-unit</a> = bytes-unit / other-range-unit
1249
1250<a href="#rule.ranges-specifier" class="smpl">suffix-byte-range-spec</a> = "-" suffix-length
1251<a href="#rule.ranges-specifier" class="smpl">suffix-length</a> = 1*DIGIT
1252
1253<a href="#core.rules" class="smpl">token</a> = &lt;token, defined in [Part1], Section 1.2.2&gt;
1254</pre> <div id="rfc.figure.u.27"></div>
1255      <p>ABNF diagnostics:</p><pre class="inline">; Accept-Ranges defined but not used
1256; Content-Range defined but not used
1257; If-Range defined but not used
1258; Range defined but not used
1259</pre><h1 id="rfc.section.D"><a href="#rfc.section.D">D.</a>&nbsp;<a id="change.log" href="#change.log">Change Log (to be removed by RFC Editor before publication)</a></h1>
1260      <h2 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a>&nbsp;Since RFC2616
1261      </h2>
1262      <p id="rfc.section.D.1.p.1">Extracted relevant partitions from <a href="#RFC2616" id="rfc.xref.RFC2616.1"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>.
1263      </p>
1264      <h2 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a>&nbsp;Since draft-ietf-httpbis-p5-range-00
1265      </h2>
1266      <p id="rfc.section.D.2.p.1">Closed issues: </p>
1267      <ul>
1268         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/18">http://tools.ietf.org/wg/httpbis/trac/ticket/18</a>&gt;: "Cache validators in 206 responses" (&lt;<a href="http://purl.org/NET/http-errata#ifrange206">http://purl.org/NET/http-errata#ifrange206</a>&gt;)
1269         </li>
1270         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/35">http://tools.ietf.org/wg/httpbis/trac/ticket/35</a>&gt;: "Normative and Informative references"
1271         </li>
1272         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/86">http://tools.ietf.org/wg/httpbis/trac/ticket/86</a>&gt;: "Normative up-to-date references"
1273         </li>
1274      </ul>
1275      <h2 id="rfc.section.D.3"><a href="#rfc.section.D.3">D.3</a>&nbsp;Since draft-ietf-httpbis-p5-range-01
1276      </h2>
1277      <p id="rfc.section.D.3.p.1">Closed issues: </p>
1278      <ul>
1279         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/55">http://tools.ietf.org/wg/httpbis/trac/ticket/55</a>&gt;: "Updating to RFC4288"
1280         </li>
1281      </ul>
1282      <p id="rfc.section.D.3.p.2">Ongoing work on ABNF conversion (&lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/36">http://tools.ietf.org/wg/httpbis/trac/ticket/36</a>&gt;):
1283      </p>
1284      <ul>
1285         <li>Add explicit references to BNF syntax and rules imported from other parts of the specification.</li>
1286      </ul>
1287      <h2 id="rfc.section.D.4"><a href="#rfc.section.D.4">D.4</a>&nbsp;<a id="changes.since.02" href="#changes.since.02">Since draft-ietf-httpbis-p5-range-02</a></h2>
1288      <p id="rfc.section.D.4.p.1">Ongoing work on IANA Message Header Registration (&lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/40">http://tools.ietf.org/wg/httpbis/trac/ticket/40</a>&gt;):
1289      </p>
1290      <ul>
1291         <li>Reference RFC 3984, and update header registrations for headers defined in this document.</li>
1292      </ul>
1293      <h2 id="rfc.section.D.5"><a href="#rfc.section.D.5">D.5</a>&nbsp;<a id="changes.since.03" href="#changes.since.03">Since draft-ietf-httpbis-p5-range-03</a></h2>
1294      <h2 id="rfc.section.D.6"><a href="#rfc.section.D.6">D.6</a>&nbsp;<a id="changes.since.04" href="#changes.since.04">Since draft-ietf-httpbis-p5-range-04</a></h2>
1295      <p id="rfc.section.D.6.p.1">Closed issues: </p>
1296      <ul>
1297         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/133">http://tools.ietf.org/wg/httpbis/trac/ticket/133</a>&gt;: "multipart/byteranges minimum number of parts"
1298         </li>
1299      </ul>
1300      <p id="rfc.section.D.6.p.2">Ongoing work on ABNF conversion (&lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/36">http://tools.ietf.org/wg/httpbis/trac/ticket/36</a>&gt;):
1301      </p>
1302      <ul>
1303         <li>Use "/" instead of "|" for alternatives.</li>
1304         <li>Introduce new ABNF rules for "bad" whitespace ("BWS"), optional whitespace ("OWS") and required whitespace ("RWS").</li>
1305         <li>Rewrite ABNFs to spell out whitespace rules, factor out header value format definitions.</li>
1306      </ul>
1307      <h2 id="rfc.section.D.7"><a href="#rfc.section.D.7">D.7</a>&nbsp;<a id="changes.since.05" href="#changes.since.05">Since draft-ietf-httpbis-p5-range-05</a></h2>
1308      <p id="rfc.section.D.7.p.1">Closed issues: </p>
1309      <ul>
1310         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/142">http://tools.ietf.org/wg/httpbis/trac/ticket/142</a>&gt;: "State base for *-byte-pos and suffix-length"
1311         </li>
1312      </ul>
1313      <p id="rfc.section.D.7.p.2">Ongoing work on Custom Ranges (&lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/85">http://tools.ietf.org/wg/httpbis/trac/ticket/85</a>&gt;):
1314      </p>
1315      <ul>
1316         <li>Remove bias in favor of byte ranges; allow custom ranges in ABNF.</li>
1317      </ul>
1318      <p id="rfc.section.D.7.p.3">Final work on ABNF conversion (&lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/36">http://tools.ietf.org/wg/httpbis/trac/ticket/36</a>&gt;):
1319      </p>
1320      <ul>
1321         <li>Add appendix containing collected and expanded ABNF, reorganize ABNF introduction.</li>
1322      </ul>
1323      <h2 id="rfc.section.D.8"><a href="#rfc.section.D.8">D.8</a>&nbsp;<a id="changes.since.06" href="#changes.since.06">Since draft-ietf-httpbis-p5-range-06</a></h2>
1324      <p id="rfc.section.D.8.p.1">Closed issues: </p>
1325      <ul>
1326         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/161">http://tools.ietf.org/wg/httpbis/trac/ticket/161</a>&gt;: "base for numeric protocol elements"
1327         </li>
1328      </ul>
1329      <h2 id="rfc.section.D.9"><a href="#rfc.section.D.9">D.9</a>&nbsp;<a id="changes.since.07" href="#changes.since.07">Since draft-ietf-httpbis-p5-range-07</a></h2>
1330      <p id="rfc.section.D.9.p.1">Closed issues: </p>
1331      <ul>
1332         <li>Fixed discrepancy in the If-Range definition about allowed validators.</li>
1333         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/150">http://tools.ietf.org/wg/httpbis/trac/ticket/150</a>&gt;: "multipart/byteranges for custom range units"
1334         </li>
1335         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/151">http://tools.ietf.org/wg/httpbis/trac/ticket/151</a>&gt;: "range unit missing from other-ranges-specifier in Range header"
1336         </li>
1337         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/198">http://tools.ietf.org/wg/httpbis/trac/ticket/198</a>&gt;: "move IANA registrations for optional status codes"
1338         </li>
1339      </ul>
1340      <h2 id="rfc.section.D.10"><a href="#rfc.section.D.10">D.10</a>&nbsp;<a id="changes.since.08" href="#changes.since.08">Since draft-ietf-httpbis-p5-range-08</a></h2>
1341      <p id="rfc.section.D.10.p.1">No significant changes.</p>
1342      <h2 id="rfc.section.D.11"><a href="#rfc.section.D.11">D.11</a>&nbsp;<a id="changes.since.09" href="#changes.since.09">Since draft-ietf-httpbis-p5-range-09</a></h2>
1343      <p id="rfc.section.D.11.p.1">No significant changes.</p>
1344      <h2 id="rfc.section.D.12"><a href="#rfc.section.D.12">D.12</a>&nbsp;<a id="changes.since.10" href="#changes.since.10">Since draft-ietf-httpbis-p5-range-10</a></h2>
1345      <p id="rfc.section.D.12.p.1">Closed issues: </p>
1346      <ul>
1347         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/69">http://tools.ietf.org/wg/httpbis/trac/ticket/69</a>&gt;: "Clarify 'Requested Variant'"
1348         </li>
1349         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/109">http://tools.ietf.org/wg/httpbis/trac/ticket/109</a>&gt;: "Clarify entity / representation / variant terminology"
1350         </li>
1351         <li> &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/220">http://tools.ietf.org/wg/httpbis/trac/ticket/220</a>&gt;: "consider removing the 'changes from 2068' sections"
1352         </li>
1353      </ul>
1354      <p id="rfc.section.D.12.p.2">Ongoing work on Custom Ranges (&lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/85">http://tools.ietf.org/wg/httpbis/trac/ticket/85</a>&gt;):
1355      </p>
1356      <ul>
1357         <li>Add IANA registry.</li>
1358      </ul>
1359      <h1 id="rfc.index"><a href="#rfc.index">Index</a></h1>
1360      <p class="noprint"><a href="#rfc.index.2">2</a> <a href="#rfc.index.4">4</a> <a href="#rfc.index.A">A</a> <a href="#rfc.index.C">C</a> <a href="#rfc.index.G">G</a> <a href="#rfc.index.H">H</a> <a href="#rfc.index.I">I</a> <a href="#rfc.index.M">M</a> <a href="#rfc.index.P">P</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.S">S</a> 
1361      </p>
1362      <div class="print2col">
1363         <ul class="ind">
1364            <li class="indline0"><a id="rfc.index.2" href="#rfc.index.2"><b>2</b></a><ul class="ind">
1365                  <li class="indline1">206 Partial Content (status code)&nbsp;&nbsp;<a class="iref" href="#rfc.iref.3"><b>3.1</b></a>, <a class="iref" href="#rfc.xref.status.206.1">6.1</a>, <a class="iref" href="#rfc.xref.status.206.2">B.1</a></li>
1366               </ul>
1367            </li>
1368            <li class="indline0"><a id="rfc.index.4" href="#rfc.index.4"><b>4</b></a><ul class="ind">
1369                  <li class="indline1">416 Requested Range Not Satisfiable (status code)&nbsp;&nbsp;<a class="iref" href="#rfc.iref.4"><b>3.2</b></a>, <a class="iref" href="#rfc.xref.status.416.1">5.2</a>, <a class="iref" href="#rfc.xref.status.416.2">6.1</a></li>
1370               </ul>
1371            </li>
1372            <li class="indline0"><a id="rfc.index.A" href="#rfc.index.A"><b>A</b></a><ul class="ind">
1373                  <li class="indline1">Accept-Ranges header&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.1"><b>5.1</b></a>, <a class="iref" href="#rfc.xref.header.accept-ranges.1">6.2</a></li>
1374               </ul>
1375            </li>
1376            <li class="indline0"><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul class="ind">
1377                  <li class="indline1">Content-Range header&nbsp;&nbsp;<a class="iref" href="#rfc.xref.header.content-range.1">2</a>, <a class="iref" href="#rfc.xref.header.content-range.2">3.1</a>, <a class="iref" href="#rfc.xref.header.content-range.3">3.2</a>, <a class="iref" href="#rfc.iref.c.1"><b>5.2</b></a>, <a class="iref" href="#rfc.xref.header.content-range.4">6.2</a></li>
1378               </ul>
1379            </li>
1380            <li class="indline0"><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul class="ind">
1381                  <li class="indline1"><tt>Grammar</tt>&nbsp;&nbsp;
1382                     <ul class="ind">
1383                        <li class="indline1"><tt>Accept-Ranges</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.4"><b>5.1</b></a></li>
1384                        <li class="indline1"><tt>Accept-Ranges-v</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.5"><b>5.1</b></a></li>
1385                        <li class="indline1"><tt>acceptable-ranges</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.6"><b>5.1</b></a></li>
1386                        <li class="indline1"><tt>byte-content-range-spec</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.10"><b>5.2</b></a></li>
1387                        <li class="indline1"><tt>byte-range-resp-spec</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.11"><b>5.2</b></a></li>
1388                        <li class="indline1"><tt>byte-range-set</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.17"><b>5.4.1</b></a></li>
1389                        <li class="indline1"><tt>byte-range-spec</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.18"><b>5.4.1</b></a></li>
1390                        <li class="indline1"><tt>byte-ranges-specifier</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.16"><b>5.4.1</b></a></li>
1391                        <li class="indline1"><tt>bytes-unit</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.2"><b>2</b></a></li>
1392                        <li class="indline1"><tt>Content-Range</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.7"><b>5.2</b></a></li>
1393                        <li class="indline1"><tt>content-range-spec</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.9"><b>5.2</b></a></li>
1394                        <li class="indline1"><tt>Content-Range-v</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.8"><b>5.2</b></a></li>
1395                        <li class="indline1"><tt>first-byte-pos</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.19"><b>5.4.1</b></a></li>
1396                        <li class="indline1"><tt>If-Range</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.13"><b>5.3</b></a></li>
1397                        <li class="indline1"><tt>If-Range-v</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.14"><b>5.3</b></a></li>
1398                        <li class="indline1"><tt>instance-length</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.12"><b>5.2</b></a></li>
1399                        <li class="indline1"><tt>last-byte-pos</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.20"><b>5.4.1</b></a></li>
1400                        <li class="indline1"><tt>other-range-unit</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.3"><b>2</b></a></li>
1401                        <li class="indline1"><tt>Range</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.23"><b>5.4.2</b></a></li>
1402                        <li class="indline1"><tt>range-unit</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.1"><b>2</b></a></li>
1403                        <li class="indline1"><tt>ranges-specifier</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.15"><b>5.4.1</b></a></li>
1404                        <li class="indline1"><tt>suffix-byte-range-spec</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.21"><b>5.4.1</b></a></li>
1405                        <li class="indline1"><tt>suffix-length</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.22"><b>5.4.1</b></a></li>
1406                     </ul>
1407                  </li>
1408               </ul>
1409            </li>
1410            <li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind">
1411                  <li class="indline1">Headers&nbsp;&nbsp;
1412                     <ul class="ind">
1413                        <li class="indline1">Accept-Ranges&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.1"><b>5.1</b></a>, <a class="iref" href="#rfc.xref.header.accept-ranges.1">6.2</a></li>
1414                        <li class="indline1">Content-Range&nbsp;&nbsp;<a class="iref" href="#rfc.xref.header.content-range.1">2</a>, <a class="iref" href="#rfc.xref.header.content-range.2">3.1</a>, <a class="iref" href="#rfc.xref.header.content-range.3">3.2</a>, <a class="iref" href="#rfc.iref.h.2"><b>5.2</b></a>, <a class="iref" href="#rfc.xref.header.content-range.4">6.2</a></li>
1415                        <li class="indline1">If-Range&nbsp;&nbsp;<a class="iref" href="#rfc.xref.header.if-range.1">3.1</a>, <a class="iref" href="#rfc.xref.header.if-range.2">3.2</a>, <a class="iref" href="#rfc.iref.h.3"><b>5.3</b></a>, <a class="iref" href="#rfc.xref.header.if-range.3">5.4.2</a>, <a class="iref" href="#rfc.xref.header.if-range.4">6.2</a></li>
1416                        <li class="indline1">Range&nbsp;&nbsp;<a class="iref" href="#rfc.xref.header.range.1">2</a>, <a class="iref" href="#rfc.xref.header.range.2">2</a>, <a class="iref" href="#rfc.xref.header.range.3">3.1</a>, <a class="iref" href="#rfc.xref.header.range.4">3.2</a>, <a class="iref" href="#rfc.iref.h.4"><b>5.4</b></a>, <a class="iref" href="#rfc.xref.header.range.5">6.2</a></li>
1417                     </ul>
1418                  </li>
1419               </ul>
1420            </li>
1421            <li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind">
1422                  <li class="indline1">If-Range header&nbsp;&nbsp;<a class="iref" href="#rfc.xref.header.if-range.1">3.1</a>, <a class="iref" href="#rfc.xref.header.if-range.2">3.2</a>, <a class="iref" href="#rfc.iref.i.1"><b>5.3</b></a>, <a class="iref" href="#rfc.xref.header.if-range.3">5.4.2</a>, <a class="iref" href="#rfc.xref.header.if-range.4">6.2</a></li>
1423               </ul>
1424            </li>
1425            <li class="indline0"><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul class="ind">
1426                  <li class="indline1">Media Type&nbsp;&nbsp;
1427                     <ul class="ind">
1428                        <li class="indline1">multipart/byteranges&nbsp;&nbsp;<a class="iref" href="#rfc.iref.m.1"><b>A</b></a></li>
1429                        <li class="indline1">multipart/x-byteranges&nbsp;&nbsp;<a class="iref" href="#rfc.iref.m.4">A</a></li>
1430                     </ul>
1431                  </li>
1432                  <li class="indline1">multipart/byteranges Media Type&nbsp;&nbsp;<a class="iref" href="#rfc.iref.m.2"><b>A</b></a></li>
1433                  <li class="indline1">multipart/x-byteranges Media Type&nbsp;&nbsp;<a class="iref" href="#rfc.iref.m.3">A</a></li>
1434               </ul>
1435            </li>
1436            <li class="indline0"><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul class="ind">
1437                  <li class="indline1"><em>Part1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part1.1">1.2</a>, <a class="iref" href="#rfc.xref.Part1.2">1.2.1</a>, <a class="iref" href="#rfc.xref.Part1.3">1.2.1</a>, <a class="iref" href="#rfc.xref.Part1.4">1.2.1</a>, <a class="iref" href="#rfc.xref.Part1.5">1.2.2</a>, <a class="iref" href="#rfc.xref.Part1.6">7</a>, <a class="iref" href="#Part1"><b>9.1</b></a><ul class="ind">
1438                        <li class="indline1"><em>Section 1.2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part1.1">1.2</a></li>
1439                        <li class="indline1"><em>Section 1.2.2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part1.2">1.2.1</a>, <a class="iref" href="#rfc.xref.Part1.3">1.2.1</a>, <a class="iref" href="#rfc.xref.Part1.4">1.2.1</a></li>
1440                        <li class="indline1"><em>Section 6.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part1.5">1.2.2</a></li>
1441                     </ul>
1442                  </li>
1443                  <li class="indline1"><em>Part4</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part4.1">1.2.2</a>, <a class="iref" href="#rfc.xref.Part4.2">4</a>, <a class="iref" href="#Part4"><b>9.1</b></a><ul class="ind">
1444                        <li class="indline1"><em>Section 2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part4.1">1.2.2</a></li>
1445                        <li class="indline1"><em>Section 4</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part4.2">4</a></li>
1446                     </ul>
1447                  </li>
1448               </ul>
1449            </li>
1450            <li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind">
1451                  <li class="indline1">Range header&nbsp;&nbsp;<a class="iref" href="#rfc.xref.header.range.1">2</a>, <a class="iref" href="#rfc.xref.header.range.2">2</a>, <a class="iref" href="#rfc.xref.header.range.3">3.1</a>, <a class="iref" href="#rfc.xref.header.range.4">3.2</a>, <a class="iref" href="#rfc.iref.r.1"><b>5.4</b></a>, <a class="iref" href="#rfc.xref.header.range.5">6.2</a></li>
1452                  <li class="indline1"><em>RFC2046</em>&nbsp;&nbsp;<a class="iref" href="#RFC2046"><b>9.1</b></a>, <a class="iref" href="#rfc.xref.RFC2046.1">A</a>, <a class="iref" href="#rfc.xref.RFC2046.2">A</a><ul class="ind">
1453                        <li class="indline1"><em>Section 5.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2046.1">A</a></li>
1454                     </ul>
1455                  </li>
1456                  <li class="indline1"><em>RFC2119</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2119.1">1.1</a>, <a class="iref" href="#RFC2119"><b>9.1</b></a></li>
1457                  <li class="indline1"><em>RFC2616</em>&nbsp;&nbsp;<a class="iref" href="#RFC2616"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2616.1">D.1</a></li>
1458                  <li class="indline1"><em>RFC3864</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC3864.1">6.2</a>, <a class="iref" href="#RFC3864"><b>9.2</b></a></li>
1459                  <li class="indline1"><em>RFC4288</em>&nbsp;&nbsp;<a class="iref" href="#RFC4288"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC4288.1">A</a></li>
1460                  <li class="indline1"><em>RFC5226</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC5226.1">2.1</a>, <a class="iref" href="#RFC5226"><b>9.2</b></a><ul class="ind">
1461                        <li class="indline1"><em>Section 4.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC5226.1">2.1</a></li>
1462                     </ul>
1463                  </li>
1464                  <li class="indline1"><em>RFC5234</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC5234.1">1.2</a>, <a class="iref" href="#rfc.xref.RFC5234.2">1.2</a>, <a class="iref" href="#RFC5234"><b>9.1</b></a><ul class="ind">
1465                        <li class="indline1"><em>Appendix B.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC5234.2">1.2</a></li>
1466                     </ul>
1467                  </li>
1468               </ul>
1469            </li>
1470            <li class="indline0"><a id="rfc.index.S" href="#rfc.index.S"><b>S</b></a><ul class="ind">
1471                  <li class="indline1">Status Codes&nbsp;&nbsp;
1472                     <ul class="ind">
1473                        <li class="indline1">206 Partial Content&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.1"><b>3.1</b></a>, <a class="iref" href="#rfc.xref.status.206.1">6.1</a>, <a class="iref" href="#rfc.xref.status.206.2">B.1</a></li>
1474                        <li class="indline1">416 Requested Range Not Satisfiable&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.2"><b>3.2</b></a>, <a class="iref" href="#rfc.xref.status.416.1">5.2</a>, <a class="iref" href="#rfc.xref.status.416.2">6.1</a></li>
1475                     </ul>
1476                  </li>
1477               </ul>
1478            </li>
1479         </ul>
1480      </div>
1481   </body>
1482</html>
Note: See TracBrowser for help on using the repository browser.