source: draft-ietf-httpbis/02/p5-range.html @ 2726

Last change on this file since 2726 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: 80.5 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}
33dl {
34  margin-left: 2em;
35}
36ul.empty {
37  list-style-type: none;
38}
39ul.empty li {
40  margin-top: .5em;
41}
42dl p {
43  margin-left: 0em;
44}
45dt {
46  margin-top: .5em;
47}
48h1 {
49  font-size: 130%;
50  line-height: 21pt;
51  page-break-after: avoid;
52}
53h1.np {
54  page-break-before: always;
55}
56h2 {
57  font-size: 120%;
58  line-height: 15pt;
59  page-break-after: avoid;
60}
61h3 {
62  font-size: 110%;
63  page-break-after: avoid;
64}
65h4, h5, h6 {
66  page-break-after: avoid;
67}
68h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
69  color: black;
70}
71img {
72  margin-left: 3em;
73}
74li {
75  margin-left: 2em;
76}
77ol {
78  margin-left: 2em;
79}
80ol.la {
81  list-style-type: lower-alpha;
82}
83ol.ua {
84  list-style-type: upper-alpha;
85}
86ol p {
87  margin-left: 0em;
88}
89p {
90  margin-left: 2em;
91}
92pre {
93  margin-left: 3em;
94  background-color: lightyellow;
95  padding: .25em;
96  page-break-inside: avoid;
97}
98pre.text2 {
99  border-style: dotted;
100  border-width: 1px;
101  background-color: #f0f0f0;
102  width: 69em;
103}
104pre.inline {
105  background-color: white;
106  padding: 0em;
107}
108pre.text {
109  border-style: dotted;
110  border-width: 1px;
111  background-color: #f8f8f8;
112  width: 69em;
113}
114pre.drawing {
115  border-style: solid;
116  border-width: 1px;
117  background-color: #f8f8f8;
118  padding: 2em;
119}
120table {
121  margin-left: 2em;
122}
123table.header {
124  border-spacing: 1px;
125  width: 95%;
126  font-size: 11pt;
127  color: white;
128}
129td.top {
130  vertical-align: top;
131}
132td.topnowrap {
133  vertical-align: top;
134  white-space: nowrap;
135}
136table.header td {
137  background-color: gray;
138  width: 50%;
139}
140table.header a {
141  color: white;
142}
143td.reference {
144  vertical-align: top;
145  white-space: nowrap;
146  padding-right: 1em;
147}
148thead {
149  display:table-header-group;
150}
151ul.toc, ul.toc ul {
152  list-style: none;
153  margin-left: 1.5em;
154  padding-left: 0em;
155}
156ul.toc li {
157  line-height: 150%;
158  font-weight: bold;
159  margin-left: 0em;
160}
161ul.toc li li {
162  line-height: normal;
163  font-weight: normal;
164  font-size: 10pt;
165  margin-left: 0em;
166}
167li.excluded {
168  font-size: 0pt;
169}
170ul p {
171  margin-left: 0em;
172}
173.title, .filename, h1, h2, h3, h4 {
174  font-family: candara, helvetica, arial, sans-serif;
175}
176samp, tt, code, pre {
177  font: consolas, monospace;
178}
179ul.ind, ul.ind ul {
180  list-style: none;
181  margin-left: 1.5em;
182  padding-left: 0em;
183  page-break-before: avoid;
184}
185ul.ind li {
186  font-weight: bold;
187  line-height: 200%;
188  margin-left: 0em;
189}
190ul.ind li li {
191  font-weight: normal;
192  line-height: 150%;
193  margin-left: 0em;
194}
195.avoidbreak {
196  page-break-inside: avoid;
197}
198.bcp14 {
199  font-style: normal;
200  text-transform: lowercase;
201  font-variant: small-caps;
202}
203.comment {
204  background-color: yellow;
205}
206.center {
207  text-align: center;
208}
209.error {
210  color: red;
211  font-style: italic;
212  font-weight: bold;
213}
214.figure {
215  font-weight: bold;
216  text-align: center;
217  font-size: 10pt;
218}
219.filename {
220  color: #333333;
221  font-size: 75%;
222  font-weight: bold;
223  line-height: 21pt;
224  text-align: center;
225}
226.fn {
227  font-weight: bold;
228}
229.left {
230  text-align: left;
231}
232.right {
233  text-align: right;
234}
235.title {
236  color: green;
237  font-size: 150%;
238  line-height: 18pt;
239  font-weight: bold;
240  text-align: center;
241  margin-top: 36pt;
242}
243.warning {
244  font-size: 130%;
245  background-color: yellow;
246}
247
248
249@media print {
250  .noprint {
251    display: none;
252  }
253
254  a {
255    color: black;
256    text-decoration: none;
257  }
258
259  table.header {
260    width: 90%;
261  }
262
263  td.header {
264    width: 50%;
265    color: black;
266    background-color: white;
267    vertical-align: top;
268    font-size: 110%;
269  }
270
271  ul.toc a:nth-child(2)::after {
272    content: leader('.') target-counter(attr(href), page);
273  }
274
275  ul.ind li li a {
276    content: target-counter(attr(href), page);
277  }
278
279  .print2col {
280    column-count: 2;
281    -moz-column-count: 2;
282    column-fill: auto;
283  }
284}
285
286@page {
287  @top-left {
288       content: "Internet-Draft";
289  }
290  @top-right {
291       content: "February 2008";
292  }
293  @top-center {
294       content: "HTTP/1.1, Part 5";
295  }
296  @bottom-left {
297       content: "Fielding, et al.";
298  }
299  @bottom-center {
300       content: "Expires August 27, 2008";
301  }
302  @bottom-right {
303       content: "[Page " counter(page) "]";
304  }
305}
306
307@page:first {
308    @top-left {
309      content: normal;
310    }
311    @top-right {
312      content: normal;
313    }
314    @top-center {
315      content: normal;
316    }
317}
318</style><link rel="Contents" href="#rfc.toc">
319      <link rel="Author" href="#rfc.authors">
320      <link rel="Copyright" href="#rfc.copyright">
321      <link rel="Index" href="#rfc.index">
322      <link rel="Chapter" title="1 Introduction" href="#rfc.section.1">
323      <link rel="Chapter" title="2 Notational Conventions and Generic Grammar" href="#rfc.section.2">
324      <link rel="Chapter" title="3 Range Units" href="#rfc.section.3">
325      <link rel="Chapter" title="4 Status Code Definitions" href="#rfc.section.4">
326      <link rel="Chapter" title="5 Combining Byte Ranges" href="#rfc.section.5">
327      <link rel="Chapter" title="6 Header Field Definitions" href="#rfc.section.6">
328      <link rel="Chapter" title="7 IANA Considerations" href="#rfc.section.7">
329      <link rel="Chapter" title="8 Security Considerations" href="#rfc.section.8">
330      <link rel="Chapter" title="9 Acknowledgments" href="#rfc.section.9">
331      <link rel="Chapter" href="#rfc.section.10" title="10 References">
332      <link rel="Appendix" title="A Internet Media Type multipart/byteranges" href="#rfc.section.A">
333      <link rel="Appendix" title="B Compatibility with Previous Versions" href="#rfc.section.B">
334      <link rel="Appendix" title="C Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.C">
335      <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/">
336      <link rel="schema.dct" href="http://purl.org/dc/terms/">
337      <meta name="dct.creator" content="Fielding, R.">
338      <meta name="dct.creator" content="Gettys, J.">
339      <meta name="dct.creator" content="Mogul, J.">
340      <meta name="dct.creator" content="Frystyk, H.">
341      <meta name="dct.creator" content="Masinter, L.">
342      <meta name="dct.creator" content="Leach, P.">
343      <meta name="dct.creator" content="Berners-Lee, T.">
344      <meta name="dct.creator" content="Lafon, Y.">
345      <meta name="dct.creator" content="Reschke, J. F.">
346      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p5-range-02">
347      <meta name="dct.issued" scheme="ISO8601" content="2008-02-24">
348      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
349      <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.">
350      <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.">
351   </head>
352   <body>
353      <table class="header">
354         <tbody>
355            <tr>
356               <td class="left">Network Working Group</td>
357               <td class="right">R. Fielding, Editor</td>
358            </tr>
359            <tr>
360               <td class="left">Internet-Draft</td>
361               <td class="right">Day Software</td>
362            </tr>
363            <tr>
364               <td class="left">Obsoletes: <a href="https://tools.ietf.org/html/rfc2616">2616</a> (if approved)
365               </td>
366               <td class="right">J. Gettys</td>
367            </tr>
368            <tr>
369               <td class="left">Intended status: Standards Track</td>
370               <td class="right">One Laptop per Child</td>
371            </tr>
372            <tr>
373               <td class="left">Expires: August 27, 2008</td>
374               <td class="right">J. Mogul</td>
375            </tr>
376            <tr>
377               <td class="left"></td>
378               <td class="right">HP</td>
379            </tr>
380            <tr>
381               <td class="left"></td>
382               <td class="right">H. Frystyk</td>
383            </tr>
384            <tr>
385               <td class="left"></td>
386               <td class="right">Microsoft</td>
387            </tr>
388            <tr>
389               <td class="left"></td>
390               <td class="right">L. Masinter</td>
391            </tr>
392            <tr>
393               <td class="left"></td>
394               <td class="right">Adobe Systems</td>
395            </tr>
396            <tr>
397               <td class="left"></td>
398               <td class="right">P. Leach</td>
399            </tr>
400            <tr>
401               <td class="left"></td>
402               <td class="right">Microsoft</td>
403            </tr>
404            <tr>
405               <td class="left"></td>
406               <td class="right">T. Berners-Lee</td>
407            </tr>
408            <tr>
409               <td class="left"></td>
410               <td class="right">W3C/MIT</td>
411            </tr>
412            <tr>
413               <td class="left"></td>
414               <td class="right">Y. Lafon, Editor</td>
415            </tr>
416            <tr>
417               <td class="left"></td>
418               <td class="right">W3C</td>
419            </tr>
420            <tr>
421               <td class="left"></td>
422               <td class="right">J. Reschke, Editor</td>
423            </tr>
424            <tr>
425               <td class="left"></td>
426               <td class="right">greenbytes</td>
427            </tr>
428            <tr>
429               <td class="left"></td>
430               <td class="right">February 24, 2008</td>
431            </tr>
432         </tbody>
433      </table>
434      <p class="title">HTTP/1.1, part 5: Range Requests and Partial Responses<br><span class="filename">draft-ietf-httpbis-p5-range-02</span></p>
435      <div id="rfc.status">
436         <h1><a href="#rfc.status">Status of this Memo</a></h1>
437         <p>By submitting this Internet-Draft, each author represents that any applicable patent or other IPR claims of which he or she
438            is aware have been or will be disclosed, and any of which he or she becomes aware will be disclosed, in accordance with Section
439            6 of BCP 79.
440         </p>
441         <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note
442            that other groups may also distribute working documents as Internet-Drafts.
443         </p>
444         <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other
445            documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work
446            in progress”.
447         </p>
448         <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>.
449         </p>
450         <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>.
451         </p>
452         <p>This Internet-Draft will expire on August 27, 2008.</p>
453      </div>
454      <h1 id="rfc.abstract"><a href="#rfc.abstract">Abstract</a></h1>
455      <p>The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information
456         systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 5 of the
457         seven-part specification that defines the protocol referred to as "HTTP/1.1" and, taken together, obsoletes RFC 2616. Part
458         5 defines range-specific requests and the rules for constructing and combining responses to those requests.
459      </p>
460      <h1 id="rfc.note.1"><a href="#rfc.note.1">Editorial Note (To be removed by RFC Editor)</a></h1>
461      <p>Discussion of this draft should take place on the HTTPBIS working group mailing list (ietf-http-wg@w3.org). The current issues
462         list is at &lt;<a href="http://www.tools.ietf.org/wg/httpbis/trac/report/11">http://www.tools.ietf.org/wg/httpbis/trac/report/11</a>&gt; and related documents (including fancy diffs) can be found at &lt;<a href="http://www.tools.ietf.org/wg/httpbis/">http://www.tools.ietf.org/wg/httpbis/</a>&gt;.
463      </p>
464      <p>This draft incorporates those issue resolutions that were either collected in the original RFC2616 errata list (&lt;<a href="http://purl.org/NET/http-errata">http://purl.org/NET/http-errata</a>&gt;), or which were agreed upon on the mailing list between October 2006 and November 2007 (as published in "draft-lafon-rfc2616bis-03").
465      </p>
466      <hr class="noprint">
467      <h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1>
468      <ul class="toc">
469         <li><a href="#rfc.section.1">1.</a>&nbsp;&nbsp;&nbsp;<a href="#introduction">Introduction</a><ul>
470               <li><a href="#rfc.section.1.1">1.1</a>&nbsp;&nbsp;&nbsp;<a href="#intro.requirements">Requirements</a></li>
471            </ul>
472         </li>
473         <li><a href="#rfc.section.2">2.</a>&nbsp;&nbsp;&nbsp;<a href="#notation">Notational Conventions and Generic Grammar</a></li>
474         <li><a href="#rfc.section.3">3.</a>&nbsp;&nbsp;&nbsp;<a href="#range.units">Range Units</a></li>
475         <li><a href="#rfc.section.4">4.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4">Status Code Definitions</a><ul>
476               <li><a href="#rfc.section.4.1">4.1</a>&nbsp;&nbsp;&nbsp;<a href="#status.206">206 Partial Content</a></li>
477               <li><a href="#rfc.section.4.2">4.2</a>&nbsp;&nbsp;&nbsp;<a href="#status.416">416 Requested Range Not Satisfiable</a></li>
478            </ul>
479         </li>
480         <li><a href="#rfc.section.5">5.</a>&nbsp;&nbsp;&nbsp;<a href="#combining.byte.ranges">Combining Byte Ranges</a></li>
481         <li><a href="#rfc.section.6">6.</a>&nbsp;&nbsp;&nbsp;<a href="#header.fields">Header Field Definitions</a><ul>
482               <li><a href="#rfc.section.6.1">6.1</a>&nbsp;&nbsp;&nbsp;<a href="#header.accept-ranges">Accept-Ranges</a></li>
483               <li><a href="#rfc.section.6.2">6.2</a>&nbsp;&nbsp;&nbsp;<a href="#header.content-range">Content-Range</a></li>
484               <li><a href="#rfc.section.6.3">6.3</a>&nbsp;&nbsp;&nbsp;<a href="#header.if-range">If-Range</a></li>
485               <li><a href="#rfc.section.6.4">6.4</a>&nbsp;&nbsp;&nbsp;<a href="#header.range">Range</a><ul>
486                     <li><a href="#rfc.section.6.4.1">6.4.1</a>&nbsp;&nbsp;&nbsp;<a href="#byte.ranges">Byte Ranges</a></li>
487                     <li><a href="#rfc.section.6.4.2">6.4.2</a>&nbsp;&nbsp;&nbsp;<a href="#range.retrieval.requests">Range Retrieval Requests</a></li>
488                  </ul>
489               </li>
490            </ul>
491         </li>
492         <li><a href="#rfc.section.7">7.</a>&nbsp;&nbsp;&nbsp;<a href="#IANA.considerations">IANA Considerations</a></li>
493         <li><a href="#rfc.section.8">8.</a>&nbsp;&nbsp;&nbsp;<a href="#security.considerations">Security Considerations</a></li>
494         <li><a href="#rfc.section.9">9.</a>&nbsp;&nbsp;&nbsp;<a href="#ack">Acknowledgments</a></li>
495         <li><a href="#rfc.section.10">10.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references">References</a><ul>
496               <li><a href="#rfc.section.10.1">10.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references.1">Normative References</a></li>
497               <li><a href="#rfc.section.10.2">10.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references.2">Informative References</a></li>
498            </ul>
499         </li>
500         <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>
501         <li><a href="#rfc.section.B">B.</a>&nbsp;&nbsp;&nbsp;<a href="#compatibility">Compatibility with Previous Versions</a><ul>
502               <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>
503               <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>
504            </ul>
505         </li>
506         <li><a href="#rfc.section.C">C.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.C">Change Log (to be removed by RFC Editor before publication)</a><ul>
507               <li><a href="#rfc.section.C.1">C.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.C.1">Since RFC2616</a></li>
508               <li><a href="#rfc.section.C.2">C.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.C.2">Since draft-ietf-httpbis-p5-range-00</a></li>
509               <li><a href="#rfc.section.C.3">C.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.C.3">Since draft-ietf-httpbis-p5-range-01</a></li>
510            </ul>
511         </li>
512         <li><a href="#rfc.index">Index</a></li>
513         <li><a href="#rfc.authors">Authors' Addresses</a></li>
514         <li><a href="#rfc.ipr">Intellectual Property and Copyright Statements</a></li>
515      </ul>
516      <div id="introduction">
517         <h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a href="#introduction">Introduction</a></h1>
518         <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
519            has stored a partial representation, it is desirable to request the remainder of that representation in a subsequent request
520            rather than transfer the entire representation. There are also a number of Web applications that benefit from being able to
521            request only a subset of a larger representation, such as a single page of a very large document or only part of an image
522            to be rendered by a device with limited local storage.
523         </p>
524         <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
525            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
526            request without impacting interoperability. Partial responses are indicated by a distinct status code to not be mistaken for
527            full responses by intermediate caches that might not implement the feature.
528         </p>
529         <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
530            requests for byte ranges.
531         </p>
532         <div id="intro.requirements">
533            <h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a>&nbsp;<a href="#intro.requirements">Requirements</a></h2>
534            <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"
535               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>.
536            </p>
537            <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."
538            </p>
539         </div>
540      </div>
541      <div id="notation">
542         <h1 id="rfc.section.2"><a href="#rfc.section.2">2.</a>&nbsp;<a href="#notation">Notational Conventions and Generic Grammar</a></h1>
543         <p id="rfc.section.2.p.1">This specification uses the ABNF syntax defined in <a href="p1-messaging.html#notation.abnf" title="Augmented BNF">Section 2.1</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> and the core rules defined in <a href="p1-messaging.html#basic.rules" title="Basic Rules">Section 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>: <span class="comment" id="abnf.dep">[<a href="#abnf.dep" class="smpl">abnf.dep</a>: ABNF syntax and basic rules will be adopted from RFC 5234, see &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/36">http://tools.ietf.org/wg/httpbis/trac/ticket/36</a>&gt;.]</span>
544         </p>
545         <div id="rfc.figure.u.1"></div><pre class="inline">  DIGIT      = &lt;DIGIT, 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 2.2</a>&gt;
546  SP         = &lt;SP, 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 2.2</a>&gt;
547</pre><div id="rfc.figure.u.2"></div><pre class="inline">  token      = &lt;token, 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#basic.rules" title="Basic Rules">Section 2.2</a>&gt;
548</pre><div id="abnf.dependencies">
549            <p id="rfc.section.2.p.4">The ABNF rules below are defined in other parts:</p>
550         </div>
551         <div id="rfc.figure.u.3"></div><pre class="inline">  HTTP-date  = &lt;HTTP-date, defined in <a href="#Part1" id="rfc.xref.Part1.6"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#full.date" title="Full Date">Section 3.3.1</a>&gt;
552</pre><div id="rfc.figure.u.4"></div><pre class="inline">  entity-tag = &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 3</a>&gt;
553</pre></div>
554      <div id="range.units">
555         <h1 id="rfc.section.3"><a href="#rfc.section.3">3.</a>&nbsp;<a href="#range.units">Range Units</a></h1>
556         <p id="rfc.section.3.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
557            uses range units in the Range (<a href="#header.range" id="rfc.xref.header.range.1" title="Range">Section&nbsp;6.4</a>) and Content-Range (<a href="#header.content-range" id="rfc.xref.header.content-range.1" title="Content-Range">Section&nbsp;6.2</a>) header fields. An entity can be broken down into subranges according to various structural units.
558         </p>
559         <div id="rfc.figure.u.5"></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>  range-unit       = bytes-unit | other-range-unit
560  bytes-unit       = "bytes"
561  other-range-unit = token
562</pre><p id="rfc.section.3.p.3">The only range unit defined by HTTP/1.1 is "bytes". HTTP/1.1 implementations <em class="bcp14">MAY</em> ignore ranges specified using other units.
563         </p>
564         <p id="rfc.section.3.p.4">HTTP/1.1 has been designed to allow implementations of applications that do not depend on knowledge of ranges.</p>
565      </div>
566      <div>
567         <h1 id="rfc.section.4"><a href="#rfc.section.4">4.</a>&nbsp;Status Code Definitions
568         </h1>
569         <div id="status.206">
570            <div id="rfc.iref.2.1"></div>
571            <div id="rfc.iref.s.1"></div>
572            <h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a>&nbsp;<a href="#status.206">206 Partial Content</a></h2>
573            <p id="rfc.section.4.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.2" title="Range">Section&nbsp;6.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;6.3</a>) to make the request conditional.
574            </p>
575            <p id="rfc.section.4.1.p.2">The response <em class="bcp14">MUST</em> include the following header fields:
576            </p>
577            <ul>
578               <li>Either a Content-Range header field (<a href="#header.content-range" id="rfc.xref.header.content-range.2" title="Content-Range">Section&nbsp;6.2</a>) indicating the range included with this response, or a multipart/byteranges Content-Type including Content-Range fields
579                  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.
580               </li>
581               <li>Date</li>
582               <li>ETag and/or Content-Location, if the header would have been sent in a 200 response to the same request</li>
583               <li>Expires, Cache-Control, and/or Vary, if the field-value might differ from that sent in any previous response for the same
584                  variant
585               </li>
586            </ul>
587            <p id="rfc.section.4.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.
588            </p>
589            <p id="rfc.section.4.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 Byte Ranges">Section&nbsp;5</a>.
590            </p>
591            <p id="rfc.section.4.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.
592            </p>
593         </div>
594         <div id="status.416">
595            <div id="rfc.iref.4.1"></div>
596            <div id="rfc.iref.s.2"></div>
597            <h2 id="rfc.section.4.2"><a href="#rfc.section.4.2">4.2</a>&nbsp;<a href="#status.416">416 Requested Range Not Satisfiable</a></h2>
598            <p id="rfc.section.4.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.3" title="Range">Section&nbsp;6.4</a>), and none of the range-specifier values in this field overlap the current extent of the selected resource, and the request
599               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
600               values were greater than the current length of the selected resource.)
601            </p>
602            <p id="rfc.section.4.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;6.2</a>). This response <em class="bcp14">MUST NOT</em> use the multipart/byteranges content-type.
603            </p>
604         </div>
605      </div>
606      <div id="combining.byte.ranges">
607         <h1 id="rfc.section.5"><a href="#rfc.section.5">5.</a>&nbsp;<a href="#combining.byte.ranges">Combining Byte Ranges</a></h1>
608         <p id="rfc.section.5.p.1">A response might transfer only a subrange of the bytes of an entity-body, either because the request included one or more
609            Range specifications, or because a connection was broken prematurely. After several such transfers, a cache might have received
610            several ranges of the same entity-body.
611         </p>
612         <p id="rfc.section.5.p.2">If a cache has a stored non-empty set of subranges for an entity, and an incoming response transfers another subrange, the
613            cache <em class="bcp14">MAY</em> combine the new subrange with the existing set if both the following conditions are met:
614         </p>
615         <ul>
616            <li>Both the incoming response and the cache entry have a cache validator.</li>
617            <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 5</a> of <a href="#Part4" id="rfc.xref.Part4.2"><cite title="HTTP/1.1, part 4: Conditional Requests">[Part4]</cite></a>).
618            </li>
619         </ul>
620         <p id="rfc.section.5.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
621            response if these values are equal or missing), and <em class="bcp14">MUST</em> discard the other partial information.
622         </p>
623      </div>
624      <div id="header.fields">
625         <h1 id="rfc.section.6"><a href="#rfc.section.6">6.</a>&nbsp;<a href="#header.fields">Header Field Definitions</a></h1>
626         <p id="rfc.section.6.p.1">This section defines the syntax and semantics of HTTP/1.1 header fields related to range requests and partial responses.</p>
627         <p id="rfc.section.6.p.2">For entity-header fields, both sender and recipient refer to either the client or the server, depending on who sends and who
628            receives the entity.
629         </p>
630         <div id="header.accept-ranges">
631            <div id="rfc.iref.a.1"></div>
632            <div id="rfc.iref.h.1"></div>
633            <h2 id="rfc.section.6.1"><a href="#rfc.section.6.1">6.1</a>&nbsp;<a href="#header.accept-ranges">Accept-Ranges</a></h2>
634            <p id="rfc.section.6.1.p.1">The Accept-Ranges response-header field allows the server to indicate its acceptance of range requests for a resource:</p>
635            <div id="rfc.figure.u.6"></div><pre class="inline"><span id="rfc.iref.g.4"></span><span id="rfc.iref.g.5"></span>  Accept-Ranges     = "Accept-Ranges" ":" acceptable-ranges
636  acceptable-ranges = 1#range-unit | "none"
637</pre><p id="rfc.section.6.1.p.3">Origin servers that accept byte-range requests <em class="bcp14">MAY</em> send
638            </p>
639            <div id="rfc.figure.u.7"></div><pre class="text">       Accept-Ranges: bytes
640</pre><p id="rfc.section.6.1.p.5">but are not required to do so. Clients <em class="bcp14">MAY</em> generate byte-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;3</a>.
641            </p>
642            <p id="rfc.section.6.1.p.6">Servers that do not accept any kind of range request for a resource <em class="bcp14">MAY</em> send
643            </p>
644            <div id="rfc.figure.u.8"></div><pre class="text">       Accept-Ranges: none
645</pre><p id="rfc.section.6.1.p.8">to advise the client not to attempt a range request.</p>
646         </div>
647         <div id="header.content-range">
648            <div id="rfc.iref.c.1"></div>
649            <div id="rfc.iref.h.2"></div>
650            <h2 id="rfc.section.6.2"><a href="#rfc.section.6.2">6.2</a>&nbsp;<a href="#header.content-range">Content-Range</a></h2>
651            <p id="rfc.section.6.2.p.1">The Content-Range entity-header is sent with a partial entity-body to specify where in the full entity-body the partial body
652               should be applied. Range units are defined in <a href="#range.units" title="Range Units">Section&nbsp;3</a>.
653            </p>
654            <div id="rfc.figure.u.9"></div><pre class="inline"><span id="rfc.iref.g.6"></span><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>  Content-Range = "Content-Range" ":" content-range-spec
655 
656  content-range-spec      = byte-content-range-spec
657  byte-content-range-spec = bytes-unit SP
658                            byte-range-resp-spec "/"
659                            ( instance-length | "*" )
660 
661  byte-range-resp-spec = (first-byte-pos "-" last-byte-pos)
662                                 | "*"
663  instance-length           = 1*DIGIT
664</pre><p id="rfc.section.6.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 "*"
665               character means that the instance-length is unknown at the time when the response was generated.
666            </p>
667            <p id="rfc.section.6.2.p.4">Unlike byte-ranges-specifier values (see <a href="#byte.ranges" title="Byte Ranges">Section&nbsp;6.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.
668            </p>
669            <p id="rfc.section.6.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
670               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.
671            </p>
672            <p id="rfc.section.6.2.p.6">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
673               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 "*".
674            </p>
675            <p id="rfc.section.6.2.p.7">Examples of byte-content-range-spec values, assuming that the entity contains a total of 1234 bytes: </p>
676            <ul>
677               <li>The first 500 bytes: <span id="rfc.figure.u.10"></span><pre class="text">   bytes 0-499/1234
678</pre> </li>
679               <li>The second 500 bytes: <span id="rfc.figure.u.11"></span><pre class="text">   bytes 500-999/1234
680</pre> </li>
681               <li>All except for the first 500 bytes: <span id="rfc.figure.u.12"></span><pre class="text">   bytes 500-1233/1234
682</pre> </li>
683               <li>The last 500 bytes: <span id="rfc.figure.u.13"></span><pre class="text">   bytes 734-1233/1234
684</pre> </li>
685            </ul>
686            <p id="rfc.section.6.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
687               a request for a set of ranges that overlap without any holes), this content is transmitted with a Content-Range header, and
688               a Content-Length header showing the number of bytes actually transferred. For example,
689            </p>
690            <div id="rfc.figure.u.14"></div><pre class="text">    HTTP/1.1 206 Partial Content
691    Date: Wed, 15 Nov 1995 06:25:24 GMT
692    Last-Modified: Wed, 15 Nov 1995 04:58:08 GMT
693    Content-Range: bytes 21010-47021/47022
694    Content-Length: 26012
695    Content-Type: image/gif
696</pre><p id="rfc.section.6.2.p.10">When an HTTP message includes the content of multiple ranges (for example, a response to a request for multiple non-overlapping
697               ranges), these are transmitted as a multipart message. The multipart media type used for this purpose is "multipart/byteranges"
698               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.
699            </p>
700            <p id="rfc.section.6.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 byte-ranges in a single request.
701            </p>
702            <p id="rfc.section.6.2.p.12">When a client requests multiple byte-ranges in one request, the server <em class="bcp14">SHOULD</em> return them in the order that they appeared in the request.
703            </p>
704            <p id="rfc.section.6.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
705               the full entity).
706            </p>
707            <p id="rfc.section.6.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
708               field (that is, all of whose byte-range-spec values have a first-byte-pos value greater than the current length of the selected
709               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;4.2</a>).
710            </p>
711            <ul class="empty">
712               <li><b>Note:</b> clients cannot depend on servers to send a 416 (Requested range not satisfiable) response instead of a 200 (OK) response for
713                  an unsatisfiable Range request-header, since not all servers implement this request-header.
714               </li>
715            </ul>
716         </div>
717         <div id="header.if-range">
718            <div id="rfc.iref.i.1"></div>
719            <div id="rfc.iref.h.3"></div>
720            <h2 id="rfc.section.6.3"><a href="#rfc.section.6.3">6.3</a>&nbsp;<a href="#header.if-range">If-Range</a></h2>
721            <p id="rfc.section.6.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
722               cache, it could use the Range request-header with a conditional GET (using either or both of If-Unmodified-Since and If-Match.)
723               However, if the condition fails because the entity has been modified, the client would then have to make a second request
724               to obtain the entire current entity-body.
725            </p>
726            <p id="rfc.section.6.3.p.2">The If-Range header allows a client to "short-circuit" the second request. Informally, its meaning is `if the entity is unchanged,
727               send me the part(s) that I am missing; otherwise, send me the entire new entity'.
728            </p>
729            <div id="rfc.figure.u.15"></div><pre class="inline"><span id="rfc.iref.g.11"></span>  If-Range = "If-Range" ":" ( entity-tag | HTTP-date )
730</pre><p id="rfc.section.6.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
731               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.
732            </p>
733            <p id="rfc.section.6.3.p.5">If the entity tag given in the If-Range header matches the current entity tag 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 entity tag does not match, then
734               the server <em class="bcp14">SHOULD</em> return the entire entity using a 200 (OK) response.
735            </p>
736         </div>
737         <div id="header.range">
738            <div id="rfc.iref.r.1"></div>
739            <div id="rfc.iref.h.4"></div>
740            <h2 id="rfc.section.6.4"><a href="#rfc.section.6.4">6.4</a>&nbsp;<a href="#header.range">Range</a></h2>
741            <div id="byte.ranges">
742               <h3 id="rfc.section.6.4.1"><a href="#rfc.section.6.4.1">6.4.1</a>&nbsp;<a href="#byte.ranges">Byte Ranges</a></h3>
743               <p id="rfc.section.6.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
744                  for any HTTP entity. (However, not all clients and servers need to support byte-range operations.)
745               </p>
746               <p id="rfc.section.6.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>
747               <p id="rfc.section.6.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.
748               </p>
749               <div id="rfc.figure.u.16"></div><pre class="inline"><span id="rfc.iref.g.12"></span><span id="rfc.iref.g.13"></span><span id="rfc.iref.g.14"></span><span id="rfc.iref.g.15"></span><span id="rfc.iref.g.16"></span><span id="rfc.iref.g.17"></span>  ranges-specifier = byte-ranges-specifier
750  byte-ranges-specifier = bytes-unit "=" byte-range-set
751  byte-range-set  = 1#( byte-range-spec | suffix-byte-range-spec )
752  byte-range-spec = first-byte-pos "-" [last-byte-pos]
753  first-byte-pos  = 1*DIGIT
754  last-byte-pos   = 1*DIGIT
755</pre><p id="rfc.section.6.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
756                  gives the byte-offset of the last byte in the range; that is, the byte positions specified are inclusive. Byte offsets start
757                  at zero.
758               </p>
759               <p id="rfc.section.6.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
760                  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.
761               </p>
762               <p id="rfc.section.6.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
763                  is taken to be equal to one less than the current length of the entity-body in bytes.
764               </p>
765               <p id="rfc.section.6.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>
766               <div id="rfc.figure.u.17"></div><pre class="inline"><span id="rfc.iref.g.18"></span><span id="rfc.iref.g.19"></span>  suffix-byte-range-spec = "-" suffix-length
767  suffix-length = 1*DIGIT
768</pre><p id="rfc.section.6.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
769                  is, this form specifies the last N bytes of an entity-body.) If the entity is shorter than the specified suffix-length, the
770                  entire entity-body is used.
771               </p>
772               <p id="rfc.section.6.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
773                  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
774                  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.
775               </p>
776               <p id="rfc.section.6.4.1.p.12">Examples of byte-ranges-specifier values (assuming an entity-body of length 10000): </p>
777               <ul>
778                  <li>The first 500 bytes (byte offsets 0-499, inclusive): bytes=0-499</li>
779                  <li>The second 500 bytes (byte offsets 500-999, inclusive): bytes=500-999</li>
780                  <li>The final 500 bytes (byte offsets 9500-9999, inclusive): bytes=-500</li>
781                  <li>Or bytes=9500-</li>
782                  <li>The first and last bytes only (bytes 0 and 9999): bytes=0-0,-1</li>
783                  <li>Several legal but not canonical specifications of the second 500 bytes (byte offsets 500-999, inclusive): <br> bytes=500-600,601-999<br> bytes=500-700,601-999
784                  </li>
785               </ul>
786            </div>
787            <div id="range.retrieval.requests">
788               <h3 id="rfc.section.6.4.2"><a href="#rfc.section.6.4.2">6.4.2</a>&nbsp;<a href="#range.retrieval.requests">Range Retrieval Requests</a></h3>
789               <p id="rfc.section.6.4.2.p.1">HTTP retrieval requests using conditional or unconditional GET methods <em class="bcp14">MAY</em> request one or more sub-ranges of the entity, instead of the entire entity, using the Range request header, which applies
790                  to the entity returned as the result of the request:
791               </p>
792               <div id="rfc.figure.u.18"></div><pre class="inline"><span id="rfc.iref.g.20"></span>  Range = "Range" ":" ranges-specifier
793</pre><p id="rfc.section.6.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,
794                  since Range supports efficient recovery from partially failed transfers, and supports efficient partial retrieval of large
795                  entities.
796               </p>
797               <p id="rfc.section.6.4.2.p.4">If the server supports the Range header and the specified range or ranges are appropriate for the entity: </p>
798               <ul>
799                  <li>The presence of a Range header in an unconditional GET modifies what is returned if the GET is otherwise successful. In other
800                     words, the response carries a status code of 206 (Partial Content) instead of 200 (OK).
801                  </li>
802                  <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
803                     one or both of If-Unmodified-Since and If-Match) modifies what is returned if the GET is otherwise successful and the condition
804                     is true. It does not affect the 304 (Not Modified) response returned if the conditional is false.
805                  </li>
806               </ul>
807               <p id="rfc.section.6.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;6.3</a>) in addition to the Range header.
808               </p>
809               <p id="rfc.section.6.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
810                  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.
811               </p>
812            </div>
813         </div>
814      </div>
815      <div id="IANA.considerations">
816         <h1 id="rfc.section.7"><a href="#rfc.section.7">7.</a>&nbsp;<a href="#IANA.considerations">IANA Considerations</a></h1>
817         <p id="rfc.section.7.p.1"><span class="comment" id="rfc.comment.1">[<a href="#rfc.comment.1" class="smpl">rfc.comment.1</a>: TBD.]</span>
818         </p>
819      </div>
820      <div id="security.considerations">
821         <h1 id="rfc.section.8"><a href="#rfc.section.8">8.</a>&nbsp;<a href="#security.considerations">Security Considerations</a></h1>
822         <p id="rfc.section.8.p.1">No additional security considerations have been identified beyond those applicable to HTTP in general <a href="#Part1" id="rfc.xref.Part1.7"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>.
823         </p>
824      </div>
825      <div id="ack">
826         <h1 id="rfc.section.9"><a href="#rfc.section.9">9.</a>&nbsp;<a href="#ack">Acknowledgments</a></h1>
827         <p id="rfc.section.9.p.1">Most of the specification of ranges is based on work originally done by Ari Luotonen and John Franks, with additional input
828            from Steve Zilles, Daniel W. Connolly, Roy T. Fielding, Jim Gettys, Martin Hamilton, Koen Holtman, Shel Kaplan, Paul Leach,
829            Alex Lopez-Ortiz, Larry Masinter, Jeff Mogul, Lou Montulli, David W. Morris, Luigi Rizzo, and Bill Weihl.
830         </p>
831      </div>
832      <h1 id="rfc.references"><a id="rfc.section.10" href="#rfc.section.10">10.</a> References
833      </h1>
834      <h2 id="rfc.references.1"><a href="#rfc.section.10.1" id="rfc.section.10.1">10.1</a> Normative References
835      </h2>
836      <table>
837         <tr>
838            <td class="reference"><b id="Part1">[Part1]</b></td>
839            <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-02">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-02 (work in progress), February&nbsp;2008.
840            </td>
841         </tr>
842         <tr>
843            <td class="reference"><b id="Part3">[Part3]</b></td>
844            <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-02">HTTP/1.1, part 3: Message Payload and Content Negotiation</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p3-payload-02 (work in progress), February&nbsp;2008.
845            </td>
846         </tr>
847         <tr>
848            <td class="reference"><b id="Part4">[Part4]</b></td>
849            <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-02">HTTP/1.1, part 4: Conditional Requests</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p4-conditional-02 (work in progress), February&nbsp;2008.
850            </td>
851         </tr>
852         <tr>
853            <td class="reference"><b id="Part6">[Part6]</b></td>
854            <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-p6-cache-02">HTTP/1.1, part 6: Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-02 (work in progress), February&nbsp;2008.
855            </td>
856         </tr>
857         <tr>
858            <td class="reference"><b id="RFC2046">[RFC2046]</b></td>
859            <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.
860            </td>
861         </tr>
862         <tr>
863            <td class="reference"><b id="RFC2119">[RFC2119]</b></td>
864            <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.
865            </td>
866         </tr>
867      </table>
868      <h2 id="rfc.references.2"><a href="#rfc.section.10.2" id="rfc.section.10.2">10.2</a> Informative References
869      </h2>
870      <table>
871         <tr>
872            <td class="reference"><b id="RFC2616">[RFC2616]</b></td>
873            <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.
874            </td>
875         </tr>
876         <tr>
877            <td class="reference"><b id="RFC4288">[RFC4288]</b></td>
878            <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.
879            </td>
880         </tr>
881      </table>
882      <div id="internet.media.type.multipart.byteranges">
883         <div id="rfc.iref.m.1"></div>
884         <div id="rfc.iref.m.2"></div>
885         <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>
886         <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
887            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>. 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>.
888         </p>
889         <p id="rfc.section.A.p.2">The multipart/byteranges media type includes two or more parts, each with its own Content-Type and Content-Range fields. The
890            required boundary parameter specifies the boundary string used to separate each body-part.
891         </p>
892         <p id="rfc.section.A.p.3"></p>
893         <dl>
894            <dt>Type name:</dt>
895            <dd>multipart</dd>
896            <dt>Subtype name:</dt>
897            <dd>byteranges</dd>
898            <dt>Required parameters:</dt>
899            <dd>boundary</dd>
900            <dt>Optional parameters:</dt>
901            <dd>none</dd>
902            <dt>Encoding considerations:</dt>
903            <dd>only "7bit", "8bit", or "binary" are permitted</dd>
904            <dt>Security considerations:</dt>
905            <dd>none</dd>
906            <dt>Interoperability considerations:</dt>
907            <dd>none</dd>
908            <dt>Published specification:</dt>
909            <dd>This specification (see <a href="#internet.media.type.multipart.byteranges" title="Internet Media Type multipart/byteranges">Appendix&nbsp;A</a>).
910            </dd>
911            <dt>Applications that use this media type:</dt>
912            <dt>Additional information:</dt>
913            <dd>
914               <dl>
915                  <dt>Magic number(s):</dt>
916                  <dd>none</dd>
917                  <dt>File extension(s):</dt>
918                  <dd>none</dd>
919                  <dt>Macintosh file type code(s):</dt>
920                  <dd>none</dd>
921               </dl>
922            </dd>
923            <dt>Person and email address to contact for further information:</dt>
924            <dd>See Authors Section.</dd>
925            <dt>Intended usage:</dt>
926            <dd>COMMON</dd>
927            <dt>Restrictions on usage:</dt>
928            <dd>none</dd>
929            <dt>Author/Change controller:</dt>
930            <dd>IESG</dd>
931         </dl>
932         <div id="rfc.figure.u.19"></div>
933         <p>For example:</p><pre class="text">   HTTP/1.1 206 Partial Content
934   Date: Wed, 15 Nov 1995 06:25:24 GMT
935   Last-Modified: Wed, 15 Nov 1995 04:58:08 GMT
936   Content-type: multipart/byteranges; boundary=THIS_STRING_SEPARATES
937
938   --THIS_STRING_SEPARATES
939   Content-type: application/pdf
940   Content-range: bytes 500-999/8000
941
942   ...the first range...
943   --THIS_STRING_SEPARATES
944   Content-type: application/pdf
945   Content-range: bytes 7000-7999/8000
946
947   ...the second range
948   --THIS_STRING_SEPARATES--
949</pre><p id="rfc.section.A.p.5">Notes: </p>
950         <ol>
951            <li>Additional CRLFs may precede the first boundary string in the entity.</li>
952            <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.
953            </li>
954            <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.
955            </li>
956         </ol>
957      </div>
958      <div id="compatibility">
959         <h1 id="rfc.section.B"><a href="#rfc.section.B">B.</a>&nbsp;<a href="#compatibility">Compatibility with Previous Versions</a></h1>
960         <div id="changes.from.rfc.2068">
961            <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>
962            <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
963               for transfer encoding that may not be self delimiting); it was important to straighten out exactly how message lengths are
964               computed. (<a href="#header.content-range" id="rfc.xref.header.content-range.4" title="Content-Range">Section&nbsp;6.2</a>, see also <a href="#Part1" id="rfc.xref.Part1.8"><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>)
965            </p>
966            <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
967               a byterange request. We therefore need a mechanism to allow byteranges with a content-range not indicating the full length
968               of the message. (<a href="#header.content-range" id="rfc.xref.header.content-range.5" title="Content-Range">Section&nbsp;6.2</a>)
969            </p>
970            <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
971               needed headers in a 206 response, this problem can be avoided. (Section <a href="#status.206" id="rfc.xref.status.206.1" title="206 Partial Content">4.1</a> and <a href="#header.if-range" id="rfc.xref.header.if-range.3" title="If-Range">6.3</a>)
972            </p>
973            <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.
974               The 416 status code was needed to resolve this ambiguity needed to indicate an error for a byte range request that falls outside
975               of the actual contents of a document. (Section <a href="#status.416" id="rfc.xref.status.416.2" title="416 Requested Range Not Satisfiable">4.2</a>, <a href="#header.content-range" id="rfc.xref.header.content-range.6" title="Content-Range">6.2</a>)
976            </p>
977         </div>
978         <div id="changes.from.rfc.2616">
979            <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>
980            <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.2" title="206 Partial Content">Section&nbsp;4.1</a>)
981            </p>
982         </div>
983      </div>
984      <div>
985         <h1 id="rfc.section.C"><a href="#rfc.section.C">C.</a>&nbsp;Change Log (to be removed by RFC Editor before publication)
986         </h1>
987         <div>
988            <h2 id="rfc.section.C.1"><a href="#rfc.section.C.1">C.1</a>&nbsp;Since RFC2616
989            </h2>
990            <p id="rfc.section.C.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>.
991            </p>
992         </div>
993         <div>
994            <h2 id="rfc.section.C.2"><a href="#rfc.section.C.2">C.2</a>&nbsp;Since draft-ietf-httpbis-p5-range-00
995            </h2>
996            <p id="rfc.section.C.2.p.1">Closed issues: </p>
997            <ul>
998               <li>&lt;<a href="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/18">http://www3.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;)
999               </li>
1000               <li>&lt;<a href="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/35">http://www3.tools.ietf.org/wg/httpbis/trac/ticket/35</a>&gt;: "Normative and Informative references"
1001               </li>
1002               <li>&lt;<a href="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/86">http://www3.tools.ietf.org/wg/httpbis/trac/ticket/86</a>&gt;: "Normative up-to-date references"
1003               </li>
1004            </ul>
1005         </div>
1006         <div>
1007            <h2 id="rfc.section.C.3"><a href="#rfc.section.C.3">C.3</a>&nbsp;Since draft-ietf-httpbis-p5-range-01
1008            </h2>
1009            <p id="rfc.section.C.3.p.1">Closed issues: </p>
1010            <ul>
1011               <li>&lt;<a href="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/55">http://www3.tools.ietf.org/wg/httpbis/trac/ticket/55</a>&gt;: "Updating to RFC4288"
1012               </li>
1013            </ul>
1014            <p id="rfc.section.C.3.p.2">Ongoing work on ABNF conversion (&lt;<a href="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/36">http://www3.tools.ietf.org/wg/httpbis/trac/ticket/36</a>&gt;):
1015            </p>
1016            <ul>
1017               <li>Add explicit references to BNF syntax and rules imported from other parts of the specification.</li>
1018            </ul>
1019         </div>
1020      </div>
1021      <h1 id="rfc.index"><a href="#rfc.index">Index</a></h1>
1022      <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>
1023      </p>
1024      <div class="print2col">
1025         <ul class="ind">
1026            <li><a id="rfc.index.2" href="#rfc.index.2"><b>2</b></a><ul>
1027                  <li>206 Partial Content (status code)&nbsp;&nbsp;<a href="#rfc.iref.2.1"><b>4.1</b></a>, <a href="#rfc.xref.status.206.1">B.1</a>, <a href="#rfc.xref.status.206.2">B.2</a></li>
1028               </ul>
1029            </li>
1030            <li><a id="rfc.index.4" href="#rfc.index.4"><b>4</b></a><ul>
1031                  <li>416 Requested Range Not Satisfiable (status code)&nbsp;&nbsp;<a href="#rfc.iref.4.1"><b>4.2</b></a>, <a href="#rfc.xref.status.416.1">6.2</a>, <a href="#rfc.xref.status.416.2">B.1</a></li>
1032               </ul>
1033            </li>
1034            <li><a id="rfc.index.A" href="#rfc.index.A"><b>A</b></a><ul>
1035                  <li>Accept-Ranges header&nbsp;&nbsp;<a href="#rfc.iref.a.1"><b>6.1</b></a></li>
1036               </ul>
1037            </li>
1038            <li><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul>
1039                  <li>Content-Range header&nbsp;&nbsp;<a href="#rfc.xref.header.content-range.1">3</a>, <a href="#rfc.xref.header.content-range.2">4.1</a>, <a href="#rfc.xref.header.content-range.3">4.2</a>, <a href="#rfc.iref.c.1"><b>6.2</b></a>, <a href="#rfc.xref.header.content-range.4">B.1</a>, <a href="#rfc.xref.header.content-range.5">B.1</a>, <a href="#rfc.xref.header.content-range.6">B.1</a></li>
1040               </ul>
1041            </li>
1042            <li><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul>
1043                  <li><tt>Grammar</tt>&nbsp;&nbsp;
1044                     <ul>
1045                        <li><tt>Accept-Ranges</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.4"><b>6.1</b></a></li>
1046                        <li><tt>acceptable-ranges</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.5"><b>6.1</b></a></li>
1047                        <li><tt>byte-content-range-spec</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.8"><b>6.2</b></a></li>
1048                        <li><tt>byte-range-resp-spec</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.9"><b>6.2</b></a></li>
1049                        <li><tt>byte-range-set</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.14"><b>6.4.1</b></a></li>
1050                        <li><tt>byte-range-spec</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.15"><b>6.4.1</b></a></li>
1051                        <li><tt>byte-ranges-specifier</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.13"><b>6.4.1</b></a></li>
1052                        <li><tt>bytes-unit</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.2"><b>3</b></a></li>
1053                        <li><tt>Content-Range</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.6"><b>6.2</b></a></li>
1054                        <li><tt>content-range-spec</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.7"><b>6.2</b></a></li>
1055                        <li><tt>first-byte-pos</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.16"><b>6.4.1</b></a></li>
1056                        <li><tt>If-Range</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.11"><b>6.3</b></a></li>
1057                        <li><tt>instance-length</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.10"><b>6.2</b></a></li>
1058                        <li><tt>last-byte-pos</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.17"><b>6.4.1</b></a></li>
1059                        <li><tt>other-range-unit</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.3"><b>3</b></a></li>
1060                        <li><tt>Range</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.20"><b>6.4.2</b></a></li>
1061                        <li><tt>range-unit</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.1"><b>3</b></a></li>
1062                        <li><tt>ranges-specifier</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.12"><b>6.4.1</b></a></li>
1063                        <li><tt>suffix-byte-range-spec</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.18"><b>6.4.1</b></a></li>
1064                        <li><tt>suffix-length</tt>&nbsp;&nbsp;<a href="#rfc.iref.g.19"><b>6.4.1</b></a></li>
1065                     </ul>
1066                  </li>
1067               </ul>
1068            </li>
1069            <li><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul>
1070                  <li>Headers&nbsp;&nbsp;
1071                     <ul>
1072                        <li>Accept-Ranges&nbsp;&nbsp;<a href="#rfc.iref.h.1"><b>6.1</b></a></li>
1073                        <li>Content-Range&nbsp;&nbsp;<a href="#rfc.xref.header.content-range.1">3</a>, <a href="#rfc.xref.header.content-range.2">4.1</a>, <a href="#rfc.xref.header.content-range.3">4.2</a>, <a href="#rfc.iref.h.2"><b>6.2</b></a>, <a href="#rfc.xref.header.content-range.4">B.1</a>, <a href="#rfc.xref.header.content-range.5">B.1</a>, <a href="#rfc.xref.header.content-range.6">B.1</a></li>
1074                        <li>If-Range&nbsp;&nbsp;<a href="#rfc.xref.header.if-range.1">4.1</a>, <a href="#rfc.iref.h.3"><b>6.3</b></a>, <a href="#rfc.xref.header.if-range.2">6.4.2</a>, <a href="#rfc.xref.header.if-range.3">B.1</a></li>
1075                        <li>Range&nbsp;&nbsp;<a href="#rfc.xref.header.range.1">3</a>, <a href="#rfc.xref.header.range.2">4.1</a>, <a href="#rfc.xref.header.range.3">4.2</a>, <a href="#rfc.iref.h.4"><b>6.4</b></a></li>
1076                     </ul>
1077                  </li>
1078               </ul>
1079            </li>
1080            <li><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul>
1081                  <li>If-Range header&nbsp;&nbsp;<a href="#rfc.xref.header.if-range.1">4.1</a>, <a href="#rfc.iref.i.1"><b>6.3</b></a>, <a href="#rfc.xref.header.if-range.2">6.4.2</a>, <a href="#rfc.xref.header.if-range.3">B.1</a></li>
1082               </ul>
1083            </li>
1084            <li><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul>
1085                  <li>Media Type&nbsp;&nbsp;
1086                     <ul>
1087                        <li>multipart/byteranges&nbsp;&nbsp;<a href="#rfc.iref.m.1"><b>A</b></a></li>
1088                        <li>multipart/x-byteranges&nbsp;&nbsp;<a href="#rfc.iref.m.4">A</a></li>
1089                     </ul>
1090                  </li>
1091                  <li>multipart/byteranges Media Type&nbsp;&nbsp;<a href="#rfc.iref.m.2"><b>A</b></a></li>
1092                  <li>multipart/x-byteranges Media Type&nbsp;&nbsp;<a href="#rfc.iref.m.3">A</a></li>
1093               </ul>
1094            </li>
1095            <li><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul>
1096                  <li><em>Part1</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.1">2</a>, <a href="#rfc.xref.Part1.2">2</a>, <a href="#rfc.xref.Part1.3">2</a>, <a href="#rfc.xref.Part1.4">2</a>, <a href="#rfc.xref.Part1.5">2</a>, <a href="#rfc.xref.Part1.6">2</a>, <a href="#rfc.xref.Part1.7">8</a>, <a href="#Part1"><b>10.1</b></a>, <a href="#rfc.xref.Part1.8">B.1</a><ul>
1097                        <li><em>Section 2.1</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.1">2</a></li>
1098                        <li><em>Section 2.2</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.2">2</a>, <a href="#rfc.xref.Part1.3">2</a>, <a href="#rfc.xref.Part1.4">2</a>, <a href="#rfc.xref.Part1.5">2</a></li>
1099                        <li><em>Section 3.3.1</em>&nbsp;&nbsp;<a href="#rfc.xref.Part1.6">2</a></li>
1100                     </ul>
1101                  </li>
1102                  <li><em>Part3</em>&nbsp;&nbsp;<a href="#Part3"><b>10.1</b></a>, <a href="#rfc.xref.Part3.1">B.1</a></li>
1103                  <li><em>Part4</em>&nbsp;&nbsp;<a href="#rfc.xref.Part4.1">2</a>, <a href="#rfc.xref.Part4.2">5</a>, <a href="#Part4"><b>10.1</b></a><ul>
1104                        <li><em>Section 3</em>&nbsp;&nbsp;<a href="#rfc.xref.Part4.1">2</a></li>
1105                        <li><em>Section 5</em>&nbsp;&nbsp;<a href="#rfc.xref.Part4.2">5</a></li>
1106                     </ul>
1107                  </li>
1108                  <li><em>Part6</em>&nbsp;&nbsp;<a href="#Part6"><b>10.1</b></a>, <a href="#rfc.xref.Part6.1">B.1</a></li>
1109               </ul>
1110            </li>
1111            <li><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul>
1112                  <li>Range header&nbsp;&nbsp;<a href="#rfc.xref.header.range.1">3</a>, <a href="#rfc.xref.header.range.2">4.1</a>, <a href="#rfc.xref.header.range.3">4.2</a>, <a href="#rfc.iref.r.1"><b>6.4</b></a></li>
1113                  <li><em>RFC2046</em>&nbsp;&nbsp;<a href="#RFC2046"><b>10.1</b></a>, <a href="#rfc.xref.RFC2046.1">A</a>, <a href="#rfc.xref.RFC2046.2">A</a></li>
1114                  <li><em>RFC2119</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2119.1">1.1</a>, <a href="#RFC2119"><b>10.1</b></a></li>
1115                  <li><em>RFC2616</em>&nbsp;&nbsp;<a href="#RFC2616"><b>10.2</b></a>, <a href="#rfc.xref.RFC2616.1">C.1</a></li>
1116                  <li><em>RFC4288</em>&nbsp;&nbsp;<a href="#RFC4288"><b>10.2</b></a>, <a href="#rfc.xref.RFC4288.1">A</a></li>
1117               </ul>
1118            </li>
1119            <li><a id="rfc.index.S" href="#rfc.index.S"><b>S</b></a><ul>
1120                  <li>Status Codes&nbsp;&nbsp;
1121                     <ul>
1122                        <li>206 Partial Content&nbsp;&nbsp;<a href="#rfc.iref.s.1"><b>4.1</b></a>, <a href="#rfc.xref.status.206.1">B.1</a>, <a href="#rfc.xref.status.206.2">B.2</a></li>
1123                        <li>416 Requested Range Not Satisfiable&nbsp;&nbsp;<a href="#rfc.iref.s.2"><b>4.2</b></a>, <a href="#rfc.xref.status.416.1">6.2</a>, <a href="#rfc.xref.status.416.2">B.1</a></li>
1124                     </ul>
1125                  </li>
1126               </ul>
1127            </li>
1128         </ul>
1129      </div>
1130      <div class="avoidbreak">
1131         <h1 id="rfc.authors"><a href="#rfc.authors">Authors' Addresses</a></h1>
1132         <p><b>Roy T. Fielding</b>
1133            (editor)
1134            <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>
1135         <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>
1136         <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>
1137         <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>
1138         <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>
1139         <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>
1140         <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>
1141         <p><b>Yves Lafon</b>
1142            (editor)
1143            <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>
1144         <p><b>Julian F. Reschke</b>
1145            (editor)
1146            <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>
1147      </div>
1148      <div id="rfc.copyright">
1149         <h1><a href="#rfc.copyright">Full Copyright Statement</a></h1>
1150         <p>Copyright © The IETF Trust (2008).</p>
1151         <p>This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the
1152            authors retain all their rights.
1153         </p>
1154         <p>This document and the information contained herein are provided on an “AS IS” basis and THE CONTRIBUTOR, THE ORGANIZATION
1155            HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND THE INTERNET ENGINEERING TASK FORCE
1156            DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN
1157            WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
1158         </p>
1159      </div>
1160      <div id="rfc.ipr">
1161         <h1><a href="#rfc.ipr">Intellectual Property</a></h1>
1162         <p>The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might
1163            be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any
1164            license under such rights might or might not be available; nor does it represent that it has made any independent effort to
1165            identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and
1166            BCP 79.
1167         </p>
1168         <p>Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result
1169            of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users
1170            of this specification can be obtained from the IETF on-line IPR repository at <a href="http://www.ietf.org/ipr">http://www.ietf.org/ipr</a>.
1171         </p>
1172         <p>The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary
1173            rights that may cover technology that may be required to implement this standard. Please address the information to the IETF
1174            at <a href="mailto:ietf-ipr@ietf.org">ietf-ipr@ietf.org</a>.
1175         </p>
1176      </div>
1177   </body>
1178</html>
Note: See TracBrowser for help on using the repository browser.