source: draft-ietf-httpbis/09/p5-range.html

Last change on this file was 2726, checked in by julian.reschke@…, 6 years ago

update to latest version of rfc2629.xslt, regen all HTML

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