source: draft-ietf-httpbis/latest/p5-range.xml @ 1467

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

Prepare publication of -17.

  • Property svn:eol-style set to native
File size: 69.4 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<?xml-stylesheet type='text/xsl' href='../myxml2rfc.xslt'?>
3<!DOCTYPE rfc [
4  <!ENTITY MAY "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MAY</bcp14>">
5  <!ENTITY MUST "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MUST</bcp14>">
6  <!ENTITY MUST-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MUST NOT</bcp14>">
7  <!ENTITY OPTIONAL "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>OPTIONAL</bcp14>">
8  <!ENTITY RECOMMENDED "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>RECOMMENDED</bcp14>">
9  <!ENTITY REQUIRED "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>REQUIRED</bcp14>">
10  <!ENTITY SHALL "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHALL</bcp14>">
11  <!ENTITY SHALL-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHALL NOT</bcp14>">
12  <!ENTITY SHOULD "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD</bcp14>">
13  <!ENTITY SHOULD-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD NOT</bcp14>">
14  <!ENTITY ID-VERSION "latest">
15  <!ENTITY ID-MONTH "October">
16  <!ENTITY ID-YEAR "2011">
17  <!ENTITY architecture               "<xref target='Part1' x:rel='#architecture' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
18  <!ENTITY notation                   "<xref target='Part1' x:rel='#notation' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
19  <!ENTITY notation-abnf              "<xref target='Part1' x:rel='#notation.abnf' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
20  <!ENTITY acks                       "<xref target='Part1' x:rel='#acks' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
21  <!ENTITY basic-rules                "<xref target='Part1' x:rel='#basic.rules' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
22  <!ENTITY field-rules                "<xref target='Part1' x:rel='#field.rules' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
23  <!ENTITY http-date                  "<xref target='Part2' x:rel='#http.date' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
24  <!ENTITY messaging                  "<xref target='Part1' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
25  <!ENTITY entity-tags                "<xref target='Part4' x:rel='#header.etag' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
26  <!ENTITY weak-and-strong-validators "<xref target='Part4' x:rel='#weak.and.strong.validators' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
27  <!ENTITY lastmod-comparison         "<xref target='Part4' x:rel='#lastmod.comparison' xmlns:x='http://purl.org/net/xml2rfc/ext'/>">
28]>
29<?rfc toc="yes" ?>
30<?rfc symrefs="yes" ?>
31<?rfc sortrefs="yes" ?>
32<?rfc compact="yes"?>
33<?rfc subcompact="no" ?>
34<?rfc linkmailto="no" ?>
35<?rfc editing="no" ?>
36<?rfc comments="yes"?>
37<?rfc inline="yes"?>
38<?rfc rfcedstyle="yes"?>
39<?rfc-ext allow-markup-in-artwork="yes" ?>
40<?rfc-ext include-references-in-index="yes" ?>
41<rfc obsoletes="2616" category="std" x:maturity-level="draft"
42     ipr="pre5378Trust200902" docName="draft-ietf-httpbis-p5-range-&ID-VERSION;"     xmlns:x='http://purl.org/net/xml2rfc/ext'>
43<front>
44
45  <title abbrev="HTTP/1.1, Part 5">HTTP/1.1, part 5: Range Requests and Partial Responses</title>
46
47  <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
48    <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
49    <address>
50      <postal>
51        <street>345 Park Ave</street>
52        <city>San Jose</city>
53        <region>CA</region>
54        <code>95110</code>
55        <country>USA</country>
56      </postal>
57      <email>fielding@gbiv.com</email>
58      <uri>http://roy.gbiv.com/</uri>
59    </address>
60  </author>
61
62  <author initials="J." surname="Gettys" fullname="Jim Gettys">
63    <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
64    <address>
65      <postal>
66        <street>21 Oak Knoll Road</street>
67        <city>Carlisle</city>
68        <region>MA</region>
69        <code>01741</code>
70        <country>USA</country>
71      </postal>
72      <email>jg@freedesktop.org</email>
73      <uri>http://gettys.wordpress.com/</uri>
74    </address>
75  </author>
76 
77  <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
78    <organization abbrev="HP">Hewlett-Packard Company</organization>
79    <address>
80      <postal>
81        <street>HP Labs, Large Scale Systems Group</street>
82        <street>1501 Page Mill Road, MS 1177</street>
83        <city>Palo Alto</city>
84        <region>CA</region>
85        <code>94304</code>
86        <country>USA</country>
87      </postal>
88      <email>JeffMogul@acm.org</email>
89    </address>
90  </author>
91
92  <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
93    <organization abbrev="Microsoft">Microsoft Corporation</organization>
94    <address>
95      <postal>
96        <street>1 Microsoft Way</street>
97        <city>Redmond</city>
98        <region>WA</region>
99        <code>98052</code>
100        <country>USA</country>
101      </postal>
102      <email>henrikn@microsoft.com</email>
103    </address>
104  </author>
105
106  <author initials="L." surname="Masinter" fullname="Larry Masinter">
107    <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
108    <address>
109      <postal>
110        <street>345 Park Ave</street>
111        <city>San Jose</city>
112        <region>CA</region>
113        <code>95110</code>
114        <country>USA</country>
115      </postal>
116      <email>LMM@acm.org</email>
117      <uri>http://larry.masinter.net/</uri>
118    </address>
119  </author>
120 
121  <author initials="P." surname="Leach" fullname="Paul J. Leach">
122    <organization abbrev="Microsoft">Microsoft Corporation</organization>
123    <address>
124      <postal>
125        <street>1 Microsoft Way</street>
126        <city>Redmond</city>
127        <region>WA</region>
128        <code>98052</code>
129      </postal>
130      <email>paulle@microsoft.com</email>
131    </address>
132  </author>
133   
134  <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
135    <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
136    <address>
137      <postal>
138        <street>MIT Computer Science and Artificial Intelligence Laboratory</street>
139        <street>The Stata Center, Building 32</street>
140        <street>32 Vassar Street</street>
141        <city>Cambridge</city>
142        <region>MA</region>
143        <code>02139</code>
144        <country>USA</country>
145      </postal>
146      <email>timbl@w3.org</email>
147      <uri>http://www.w3.org/People/Berners-Lee/</uri>
148    </address>
149  </author>
150
151  <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
152    <organization abbrev="W3C">World Wide Web Consortium</organization>
153    <address>
154      <postal>
155        <street>W3C / ERCIM</street>
156        <street>2004, rte des Lucioles</street>
157        <city>Sophia-Antipolis</city>
158        <region>AM</region>
159        <code>06902</code>
160        <country>France</country>
161      </postal>
162      <email>ylafon@w3.org</email>
163      <uri>http://www.raubacapeu.net/people/yves/</uri>
164    </address>
165  </author>
166
167  <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
168    <organization abbrev="greenbytes">greenbytes GmbH</organization>
169    <address>
170      <postal>
171        <street>Hafenweg 16</street>
172        <city>Muenster</city><region>NW</region><code>48155</code>
173        <country>Germany</country>
174      </postal>
175      <phone>+49 251 2807760</phone>
176      <facsimile>+49 251 2807761</facsimile>
177      <email>julian.reschke@greenbytes.de</email>
178      <uri>http://greenbytes.de/tech/webdav/</uri>
179    </address>
180  </author>
181
182  <date month="&ID-MONTH;" year="&ID-YEAR;"/>
183  <workgroup>HTTPbis Working Group</workgroup>
184
185<abstract>
186<t>
187   The Hypertext Transfer Protocol (HTTP) is an application-level protocol for
188   distributed, collaborative, hypertext information systems. HTTP has been in
189   use by the World Wide Web global information initiative since 1990. This
190   document is Part 5 of the seven-part specification that defines the protocol
191   referred to as "HTTP/1.1" and, taken together, obsoletes RFC 2616.
192</t>
193<t>
194   Part 5 defines range-specific requests and the rules for constructing and
195   combining responses to those requests.
196</t>
197</abstract>
198
199<note title="Editorial Note (To be removed by RFC Editor)">
200  <t>
201    Discussion of this draft should take place on the HTTPBIS working group
202    mailing list (ietf-http-wg@w3.org), which is archived at
203    <eref target="http://lists.w3.org/Archives/Public/ietf-http-wg/"/>.
204  </t>
205  <t>
206    The current issues list is at
207    <eref target="http://tools.ietf.org/wg/httpbis/trac/report/3"/> and related
208    documents (including fancy diffs) can be found at
209    <eref target="http://tools.ietf.org/wg/httpbis/"/>.
210  </t>
211  <t>
212    The changes in this draft are summarized in <xref target="changes.since.17"/>.
213  </t>
214</note>
215</front>
216<middle>
217<section title="Introduction" anchor="introduction">
218<t>
219   HTTP clients often encounter interrupted data transfers as a result
220   of cancelled requests or dropped connections.  When a client has stored
221   a partial representation, it is desirable to request the remainder
222   of that representation in a subsequent request rather than transfer
223   the entire representation.
224   There are also a number of Web applications that benefit from being
225   able to request only a subset of a larger representation, such as a
226   single page of a very large document or only part of an image to be
227   rendered by a device with limited local storage.
228</t>
229<t>
230   This document defines HTTP/1.1 range requests,
231   partial responses, and the multipart/byteranges media type.
232   The protocol for range requests is an &OPTIONAL; feature of HTTP,
233   designed so resources or recipients that do not implement this feature
234   can respond as if it is a normal GET request without impacting
235   interoperability.  Partial responses are indicated by a distinct status
236   code to not be mistaken for full responses by intermediate caches
237   that might not implement the feature.
238</t>
239<t>
240   Although the HTTP range request mechanism is designed to allow for
241   extensible range types, this specification only defines requests for
242   byte ranges.
243</t>
244
245<section title="Conformance and Error Handling" anchor="intro.conformance.and.error.handling">
246<t>
247   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
248   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
249   document are to be interpreted as described in <xref target="RFC2119"/>.
250</t>
251<t>
252   This document defines conformance criteria for several roles in HTTP
253   communication, including Senders, Recipients, Clients, Servers, User-Agents,
254   Origin Servers, Intermediaries, Proxies and Gateways. See &architecture;
255   for definitions of these terms.
256</t>
257<t>
258   An implementation is considered conformant if it complies with all of the
259   requirements associated with its role(s). Note that SHOULD-level requirements
260   are relevant here, unless one of the documented exceptions is applicable.
261</t>
262<t>
263   This document also uses ABNF to define valid protocol elements
264   (<xref target="notation"/>). In addition to the prose requirements placed
265   upon them, Senders &MUST-NOT; generate protocol elements that are invalid.
266</t>
267<t>
268   Unless noted otherwise, Recipients &MAY; take steps to recover a usable
269   protocol element from an invalid construct. However, HTTP does not define
270   specific error handling mechanisms, except in cases where it has direct
271   impact on security. This is because different uses of the protocol require
272   different error handling strategies; for example, a Web browser may wish to
273   transparently recover from a response where the Location header field
274   doesn't parse according to the ABNF, whereby in a systems control protocol
275   using HTTP, this type of error recovery could lead to dangerous consequences.
276</t>
277</section>
278
279<section title="Syntax Notation" anchor="notation">
280  <x:anchor-alias value="ALPHA"/>
281  <x:anchor-alias value="CHAR"/>
282  <x:anchor-alias value="CR"/>
283  <x:anchor-alias value="DIGIT"/>
284  <x:anchor-alias value="LF"/>
285  <x:anchor-alias value="OCTET"/>
286  <x:anchor-alias value="SP"/>
287  <x:anchor-alias value="VCHAR"/>
288<t>
289  This specification uses the ABNF syntax defined in &notation; (which
290  extends the syntax defined in <xref target="RFC5234"/> with a list rule).
291  <xref target="collected.abnf"/> shows the collected ABNF, with the list
292  rule expanded.
293</t>
294<t>
295  The following core rules are included by
296  reference, as defined in <xref target="RFC5234" x:fmt="," x:sec="B.1"/>:
297  ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls),
298  DIGIT (decimal 0-9), DQUOTE (double quote),
299  HEXDIG (hexadecimal 0-9/A-F/a-f), LF (line feed),
300  OCTET (any 8-bit sequence of data), SP (space), and
301  VCHAR (any visible US-ASCII character).
302</t>
303
304<t>
305  Note that all rules derived from <x:ref>token</x:ref> are to
306  be compared case-insensitively, like <x:ref>range-unit</x:ref> and
307  <x:ref>acceptable-ranges</x:ref>.
308</t>
309
310<section title="Core Rules" anchor="core.rules">
311  <x:anchor-alias value="token"/>
312  <x:anchor-alias value="OWS"/>
313  <x:anchor-alias value="HTTP-date"/>
314<t>
315  The core rules below are defined in <xref target="Part1"/> and
316  <xref target="Part2"/>:
317</t>
318<figure><artwork type="abnf2616">
319  <x:ref>OWS</x:ref>        = &lt;OWS, defined in &basic-rules;&gt;
320  <x:ref>token</x:ref>      = &lt;token, defined in &field-rules;&gt;
321  <x:ref>HTTP-date</x:ref>  = &lt;HTTP-date, defined in &http-date;&gt;
322</artwork></figure>
323</section>
324
325<section title="ABNF Rules defined in other Parts of the Specification" anchor="abnf.dependencies">
326  <x:anchor-alias value="entity-tag"/>
327<t>
328  The ABNF rules below are defined in other parts:
329</t>
330<figure><!--Part4--><artwork type="abnf2616">
331  <x:ref>entity-tag</x:ref> = &lt;entity-tag, defined in &entity-tags;&gt;
332</artwork></figure>
333</section>
334
335</section>
336
337</section>
338
339
340<section title="Range Units" anchor="range.units">
341  <x:anchor-alias value="bytes-unit"/>
342  <x:anchor-alias value="other-range-unit"/>
343  <x:anchor-alias value="range-unit"/>
344<t>
345   HTTP/1.1 allows a client to request that only part (a range) of the
346   representation be included within the response. HTTP/1.1 uses range
347   units in the Range (<xref target="header.range"/>) and Content-Range (<xref target="header.content-range"/>)
348   header fields. A representation can be broken down into subranges according
349   to various structural units.
350</t>
351<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="range-unit"/><iref primary="true" item="Grammar" subitem="bytes-unit"/><iref primary="true" item="Grammar" subitem="other-range-unit"/>
352  <x:ref>range-unit</x:ref>       = <x:ref>bytes-unit</x:ref> / <x:ref>other-range-unit</x:ref>
353  <x:ref>bytes-unit</x:ref>       = "bytes"
354  <x:ref>other-range-unit</x:ref> = <x:ref>token</x:ref>
355</artwork></figure>
356<t>
357  HTTP/1.1 has been designed to allow implementations of applications
358  that do not depend on knowledge of ranges. The only range unit defined
359  by HTTP/1.1 is "bytes". Additional specifiers can be defined as described
360  in <xref target="range.specifier.registry"/>.
361</t>
362<t>
363  If a range unit is not understood in a request, a server &MUST; ignore
364  the whole Range header field (<xref target="header.range"/>).
365  If a range unit is not understood in a response, an intermediary
366  &SHOULD; pass the response to the client; a client &MUST; fail.
367</t>
368
369<section title="Range Specifier Registry" anchor="range.specifier.registry">
370<t>
371   The HTTP Range Specifier Registry defines the name space for the range
372   specifier names.
373</t>
374<t>
375   Registrations &MUST; include the following fields:
376   <list style="symbols">
377     <t>Name</t>
378     <t>Description</t>
379     <t>Pointer to specification text</t>
380   </list>
381</t>
382<t>
383  Values to be added to this name space are subject to IETF review
384  (<xref target="RFC5226" x:fmt="," x:sec="4.1"/>).
385</t>
386<t>
387   The registry itself is maintained at
388   <eref target="http://www.iana.org/assignments/http-range-specifiers"/>.
389</t>
390</section>
391
392</section>
393
394<section title="Status Code Definitions" anchor="status.code.definitions">
395<section title="206 Partial Content" anchor="status.206">
396  <iref primary="true" item="206 Partial Content (status code)" x:for-anchor=""/>
397  <iref primary="true" item="Status Codes" subitem="206 Partial Content" x:for-anchor=""/>
398<t>
399   The server has fulfilled the partial GET request for the resource.
400   The request &MUST; have included a Range header field (<xref target="header.range"/>)
401   indicating the desired range, and &MAY; have included an If-Range
402   header field (<xref target="header.if-range"/>) to make the request conditional.
403</t>
404<t>
405   The response &MUST; include the following header fields:
406  <list style="symbols">
407    <t>
408        Either a Content-Range header field (<xref target="header.content-range"/>) indicating
409        the range included with this response, or a multipart/byteranges
410        Content-Type including Content-Range fields for each part. If a
411        Content-Length header field is present in the response, its
412        value &MUST; match the actual number of octets transmitted in the
413        message-body.
414    </t>
415    <t>
416        Date
417    </t>
418    <t>
419        Cache-Control, ETag, Expires, Content-Location, Last-Modified,
420        and/or Vary, if the header field would have been sent in a 200
421        response to the same request
422    </t>
423  </list>
424</t>
425<t>
426   If the 206 response is the result of an If-Range request, the response
427   &SHOULD-NOT; include other representation header fields. Otherwise, the response
428   &MUST; include all of the representation header fields that would have been returned
429   with a 200 (OK) response to the same request.
430</t>
431</section>
432
433<section title="416 Requested Range Not Satisfiable" anchor="status.416">
434  <iref primary="true" item="416 Requested Range Not Satisfiable (status code)" x:for-anchor=""/>
435  <iref primary="true" item="Status Codes" subitem="416 Requested Range Not Satisfiable" x:for-anchor=""/>
436<t>
437   A server &SHOULD; return a response with this status code if a request
438   included a Range header field (<xref target="header.range"/>), and none of
439   the ranges-specifier values in this field overlap the current extent
440   of the selected resource, and the request did not include an If-Range
441   header field (<xref target="header.if-range"/>). (For byte-ranges,
442   this means that the first-byte-pos of all of the byte-range-spec values were
443   greater than the current length of the selected resource.)
444</t>
445<t>
446   When this status code is returned for a byte-range request, the
447   response &SHOULD; include a Content-Range header field
448   specifying the current length of the representation (see <xref target="header.content-range"/>).
449   This response &MUST-NOT; use the multipart/byteranges content-type.
450</t>
451</section>
452</section>
453
454<section title="Combining Ranges" anchor="combining.byte.ranges">
455<t>
456   A response might transfer only a subrange of a representation if the
457   connection closed prematurely or if the request used one or more Range
458   specifications.  After several such transfers, a client might have
459   received several ranges of the same representation.  These ranges can only
460   be safely combined if they all have in common the same strong validator,
461   where "strong validator" is defined to be either an entity-tag that is
462   not marked as weak (&entity-tags;) or, if no entity-tag is provided, a
463   Last-Modified value that is strong in the sense defined by
464   &lastmod-comparison;.
465</t>
466<t>
467   When a client receives an incomplete 200 (OK) or 206 (Partial Content)
468   response and already has one or more stored responses for the same method
469   and effective request URI, all of the stored responses with the same
470   strong validator &MAY; be combined with the partial content in this new
471   response.  If none of the stored responses contain the same strong
472   validator, then this new response corresponds to a new representation
473   and &MUST-NOT; be combined with the existing stored responses.
474</t>
475<t>
476   If the new response is an incomplete 200 (OK) response, then the header
477   fields of that new response are used for any combined response and replace
478   those of the matching stored responses.
479</t>
480<t>
481   If the new response is a 206 (Partial Content) response and at least one
482   of the matching stored responses is a 200 (OK), then the combined response
483   header fields consist of the most recent 200 response's header fields.
484   If all of the matching stored responses are 206 responses, then the
485   stored response with the most header fields is used as the source of
486   header fields for the combined response, except that the client &MUST;
487   use other header fields provided in the new response, aside from
488   Content-Range, to replace all instances of the corresponding header
489   fields in the stored response.
490</t>
491<t>
492   The combined response message-body consists of the union of partial
493   content ranges in the new response and each of the selected responses.
494   If the union consists of the entire range of the representation, then the
495   combined response &MUST; be recorded as a complete 200 (OK) response
496   with a Content-Length header field that reflects the complete length.
497   Otherwise, the combined response(s) &MUST; include a Content-Range
498   header field describing the included range(s) and be recorded as
499   incomplete.  If the union consists of a discontinuous range of the
500   representation, then the client &MAY; store it as either a multipart range
501   response or as multiple 206 responses with one continuous range each.
502</t>
503</section>
504
505<section title="Header Field Definitions" anchor="header.field.definitions">
506<t>
507   This section defines the syntax and semantics of HTTP/1.1 header fields
508   related to range requests and partial responses.
509</t>
510
511<section title="Accept-Ranges" anchor="header.accept-ranges">
512  <iref primary="true" item="Accept-Ranges header field" x:for-anchor=""/>
513  <iref primary="true" item="Header Fields" subitem="Accept-Ranges" x:for-anchor=""/>
514  <x:anchor-alias value="Accept-Ranges"/>
515  <x:anchor-alias value="acceptable-ranges"/>
516<t>
517   The "Accept-Ranges" header field allows a resource to indicate
518   its acceptance of range requests.
519</t>
520<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Accept-Ranges"/><iref primary="true" item="Grammar" subitem="acceptable-ranges"/>
521  <x:ref>Accept-Ranges</x:ref>     = <x:ref>acceptable-ranges</x:ref>
522  <x:ref>acceptable-ranges</x:ref> = 1#<x:ref>range-unit</x:ref> / "none"
523</artwork></figure>
524<t>
525      Origin servers that accept byte-range requests &MAY; send
526</t>
527<figure><artwork type="example">
528  Accept-Ranges: bytes
529</artwork></figure>
530<t>
531      but are not required to do so. Clients &MAY; generate range
532      requests without having received this header field for the resource
533      involved. Range units are defined in <xref target="range.units"/>.
534</t>
535<t>
536      Servers that do not accept any kind of range request for a
537      resource &MAY; send
538</t>
539<figure><artwork type="example">
540  Accept-Ranges: none
541</artwork></figure>
542<t>
543      to advise the client not to attempt a range request.
544</t>
545</section>
546
547<section title="Content-Range" anchor="header.content-range">
548  <iref primary="true" item="Content-Range header field" x:for-anchor=""/>
549  <iref primary="true" item="Header Fields" subitem="Content-Range" x:for-anchor=""/>
550  <x:anchor-alias value="byte-content-range-spec"/>
551  <x:anchor-alias value="byte-range-resp-spec"/>
552  <x:anchor-alias value="Content-Range"/>
553  <x:anchor-alias value="instance-length"/>
554  <x:anchor-alias value="other-content-range-spec"/>
555  <x:anchor-alias value="other-range-resp-spec"/>
556<t>
557   The "Content-Range" header field is sent with a partial representation to
558   specify where in the full representation the payload body is intended to be
559   applied.
560</t>
561<t>  
562   Range units are defined in <xref target="range.units"/>.
563</t>
564<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Content-Range"/><iref primary="true" item="Grammar" subitem="byte-content-range-spec"/><iref primary="true" item="Grammar" subitem="byte-range-resp-spec"/><iref primary="true" item="Grammar" subitem="instance-length"/>
565  <x:ref>Content-Range</x:ref>           = <x:ref>byte-content-range-spec</x:ref>
566                          / <x:ref>other-content-range-spec</x:ref>
567                         
568  <x:ref>byte-content-range-spec</x:ref> = <x:ref>bytes-unit</x:ref> <x:ref>SP</x:ref>
569                            <x:ref>byte-range-resp-spec</x:ref> "/"
570                            ( <x:ref>instance-length</x:ref> / "*" )
571 
572  <x:ref>byte-range-resp-spec</x:ref>    = (<x:ref>first-byte-pos</x:ref> "-" <x:ref>last-byte-pos</x:ref>)
573                          / "*"
574                         
575  <x:ref>instance-length</x:ref>         = 1*<x:ref>DIGIT</x:ref>
576 
577  <x:ref>other-content-range-spec</x:ref> = <x:ref>other-range-unit</x:ref> <x:ref>SP</x:ref>
578                             <x:ref>other-range-resp-spec</x:ref>
579  <x:ref>other-range-resp-spec</x:ref>    = *<x:ref>CHAR</x:ref>
580</artwork></figure>
581<t>
582   The header field &SHOULD; indicate the total length of the full representation,
583   unless this length is unknown or difficult to determine. The asterisk
584   "*" character means that the instance-length is unknown at the time
585   when the response was generated.
586</t>
587<t>
588   Unlike byte-ranges-specifier values (see <xref target="byte.ranges"/>), a byte-range-resp-spec
589   &MUST; only specify one range, and &MUST; contain
590   absolute byte positions for both the first and last byte of the
591   range.
592</t>
593<t>
594   A byte-content-range-spec with a byte-range-resp-spec whose last-byte-pos
595   value is less than its first-byte-pos value, or whose
596   instance-length value is less than or equal to its last-byte-pos
597   value, is invalid. The recipient of an invalid byte-content-range-spec
598   &MUST; ignore it and any content transferred along with it.
599</t>
600<t>
601   In the case of a byte range request:
602   A server sending a response with status code 416 (Requested range not
603   satisfiable) &SHOULD; include a Content-Range field with a byte-range-resp-spec
604   of "*". The instance-length specifies the current length of
605   the selected resource. A response with status code 206 (Partial
606   Content) &MUST-NOT; include a Content-Range field with a byte-range-resp-spec of "*".
607</t>
608<t>
609  The "Content-Range" header field has no meaning for status codes that do not
610  explicitly describe its semantic. Currently, only status codes
611  206 (Partial Content) and 416 (Requested range not satisfiable) describe
612  the meaning of this header field.
613</t>
614<t>
615   Examples of byte-content-range-spec values, assuming that the representation
616   contains a total of 1234 bytes:
617   <list style="symbols">
618      <t>
619        The first 500 bytes:
620<figure><artwork type="example" x:indent-with="   ">
621  bytes 0-499/1234
622</artwork></figure>
623      </t>   
624      <t>
625        The second 500 bytes:
626<figure><artwork type="example" x:indent-with="   ">
627  bytes 500-999/1234
628</artwork></figure>
629      </t>   
630      <t>
631        All except for the first 500 bytes:
632<figure><artwork type="example" x:indent-with="   ">
633  bytes 500-1233/1234
634</artwork></figure>
635      </t>   
636      <t>
637        The last 500 bytes:
638<figure><artwork type="example" x:indent-with="   ">
639  bytes 734-1233/1234
640</artwork></figure>
641      </t>   
642   </list>
643</t>
644<t>
645   When an HTTP message includes the content of a single range (for
646   example, a response to a request for a single range, or to a request
647   for a set of ranges that overlap without any holes), this content is
648   transmitted with a Content-Range header field, and a Content-Length header
649   field showing the number of bytes actually transferred. For example,
650</t>
651<figure><artwork type="example">
652  HTTP/1.1 206 Partial Content
653  Date: Wed, 15 Nov 1995 06:25:24 GMT
654  Last-Modified: Wed, 15 Nov 1995 04:58:08 GMT
655  Content-Range: bytes 21010-47021/47022
656  Content-Length: 26012
657  Content-Type: image/gif
658</artwork></figure>
659<t>
660   When an HTTP message includes the content of multiple ranges (for
661   example, a response to a request for multiple non-overlapping
662   ranges), these are transmitted as a multipart message. The multipart
663   media type used for this purpose is "multipart/byteranges" as defined
664   in <xref target="internet.media.type.multipart.byteranges"/>.
665</t>
666<t>
667   A response to a request for a single range &MUST-NOT; be sent using the
668   multipart/byteranges media type.  A response to a request for
669   multiple ranges, whose result is a single range, &MAY; be sent as a
670   multipart/byteranges media type with one part. A client that cannot
671   decode a multipart/byteranges message &MUST-NOT; ask for multiple
672   ranges in a single request.
673</t>
674<t>
675   When a client requests multiple ranges in one request, the
676   server &SHOULD; return them in the order that they appeared in the
677   request.
678</t>
679<t>
680   If the server ignores a byte-range-spec because it is syntactically
681   invalid, the server &SHOULD; treat the request as if the invalid Range
682   header field did not exist. (Normally, this means return a 200
683   response containing the full representation).
684</t>
685<t>
686   If the server receives a request (other than one including an If-Range
687   header field) with an unsatisfiable Range header
688   field (that is, all of whose byte-range-spec values have a
689   first-byte-pos value greater than the current length of the selected
690   resource), it &SHOULD; return a response code of 416 (Requested range
691   not satisfiable) (<xref target="status.416"/>).
692</t>
693<x:note>
694  <t>
695    <x:h>Note:</x:h> Clients cannot depend on servers to send a 416 (Requested
696    range not satisfiable) response instead of a 200 (OK) response for
697    an unsatisfiable Range header field, since not all servers
698    implement this header field.
699  </t>
700</x:note>
701</section>
702
703<section title="If-Range" anchor="header.if-range">
704  <iref primary="true" item="If-Range header field" x:for-anchor=""/>
705  <iref primary="true" item="Header Fields" subitem="If-Range" x:for-anchor=""/>
706  <x:anchor-alias value="If-Range"/>
707<t>
708   If a client has a partial copy of a representation and wishes
709   to have an up-to-date copy of the entire representation, it
710   could use the Range header field with a conditional GET (using
711   either or both of If-Unmodified-Since and If-Match.) However, if the
712   condition fails because the representation has been modified, the client
713   would then have to make a second request to obtain the entire current
714   representation.
715</t>
716<t>
717   The "If-Range" header field allows a client to "short-circuit" the second
718   request. Informally, its meaning is "if the representation is unchanged, send
719   me the part(s) that I am missing; otherwise, send me the entire new
720   representation".
721</t>
722<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="If-Range"/>
723  <x:ref>If-Range</x:ref> = <x:ref>entity-tag</x:ref> / <x:ref>HTTP-date</x:ref>
724</artwork></figure>
725<t>
726   Clients &MUST-NOT; use an entity-tag marked as weak in an If-Range
727   field value and &MUST-NOT; use a Last-Modified date in an If-Range
728   field value unless it has no entity-tag for the representation and
729   the Last-Modified date it does have for the representation is strong
730   in the sense defined by &lastmod-comparison;.
731</t>
732<t>
733   A server that evaluates a conditional range request that is applicable
734   to one of its representations &MUST; evaluate the condition as false if
735   the entity-tag used as a validator is marked as weak or, when an HTTP-date
736   is used as the validator, if the date value is not strong in the sense
737   defined by &lastmod-comparison;. (A server can distinguish between a
738   valid HTTP-date and any form of entity-tag by examining the first
739   two characters.)
740</t>
741<t>
742   The If-Range header field &SHOULD; only be sent by clients together with
743   a Range header field.  The If-Range header field &MUST; be ignored if it
744   is received in a request that does not include a Range header field.
745   The If-Range header field &MUST; be ignored by a server that does not
746   support the sub-range operation.
747</t>
748<t>
749   If the validator given in the If-Range header field matches the current
750   validator for the selected representation of the target resource, then
751   the server &SHOULD; send the specified sub-range of the representation
752   using a 206 (Partial Content) response. If the validator does not match,
753   then the server &SHOULD; send the entire representation using a 200 (OK)
754   response.
755</t>
756</section>
757
758<section title="Range" anchor="header.range">
759  <iref primary="true" item="Range header field" x:for-anchor=""/>
760  <iref primary="true" item="Header Fields" subitem="Range" x:for-anchor=""/>
761
762<section title="Byte Ranges" anchor="byte.ranges">
763<t>
764   Since all HTTP representations are transferred as sequences
765   of bytes, the concept of a byte range is meaningful for any HTTP
766   representation. (However, not all clients and servers need to support byte-range
767   operations.)
768</t>
769<t>
770   Byte range specifications in HTTP apply to the sequence of bytes in
771   the representation body (not necessarily the same as the message-body).
772</t>
773<t anchor="rule.ranges-specifier">
774  <x:anchor-alias value="byte-range-set"/>
775  <x:anchor-alias value="byte-range-spec"/>
776  <x:anchor-alias value="byte-ranges-specifier"/>
777  <x:anchor-alias value="first-byte-pos"/>
778  <x:anchor-alias value="last-byte-pos"/>
779  <x:anchor-alias value="ranges-specifier"/>
780  <x:anchor-alias value="suffix-byte-range-spec"/>
781  <x:anchor-alias value="suffix-length"/>
782
783   A byte range operation &MAY; specify a single range of bytes, or a set
784   of ranges within a single representation.
785</t>
786<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="ranges-specifier"/><iref primary="true" item="Grammar" subitem="byte-ranges-specifier"/><iref primary="true" item="Grammar" subitem="byte-range-set"/><iref primary="true" item="Grammar" subitem="byte-range-spec"/><iref primary="true" item="Grammar" subitem="first-byte-pos"/><iref primary="true" item="Grammar" subitem="last-byte-pos"/>
787  <x:ref>byte-ranges-specifier</x:ref> = <x:ref>bytes-unit</x:ref> "=" <x:ref>byte-range-set</x:ref>
788  <x:ref>byte-range-set</x:ref>  = 1#( <x:ref>byte-range-spec</x:ref> / <x:ref>suffix-byte-range-spec</x:ref> )
789  <x:ref>byte-range-spec</x:ref> = <x:ref>first-byte-pos</x:ref> "-" [ <x:ref>last-byte-pos</x:ref> ]
790  <x:ref>first-byte-pos</x:ref>  = 1*<x:ref>DIGIT</x:ref>
791  <x:ref>last-byte-pos</x:ref>   = 1*<x:ref>DIGIT</x:ref>
792</artwork></figure>
793<t>
794   The first-byte-pos value in a byte-range-spec gives the byte-offset
795   of the first byte in a range. The last-byte-pos value gives the
796   byte-offset of the last byte in the range; that is, the byte
797   positions specified are inclusive. Byte offsets start at zero.
798</t>
799<t>
800   If the last-byte-pos value is present, it &MUST; be greater than or
801   equal to the first-byte-pos in that byte-range-spec, or the byte-range-spec
802   is syntactically invalid. The recipient of a byte-range-set
803   that includes one or more syntactically invalid byte-range-spec
804   values &MUST; ignore the header field that includes that byte-range-set.
805</t>
806<t>
807   If the last-byte-pos value is absent, or if the value is greater than
808   or equal to the current length of the representation body, last-byte-pos is
809   taken to be equal to one less than the current length of the representation
810   in bytes.
811</t>
812<t>
813   By its choice of last-byte-pos, a client can limit the number of
814   bytes retrieved without knowing the size of the representation.
815</t>
816<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="suffix-byte-range-spec"/><iref primary="true" item="Grammar" subitem="suffix-length"/>
817  <x:ref>suffix-byte-range-spec</x:ref> = "-" <x:ref>suffix-length</x:ref>
818  <x:ref>suffix-length</x:ref> = 1*<x:ref>DIGIT</x:ref>
819</artwork></figure>
820<t>
821   A suffix-byte-range-spec is used to specify the suffix of the
822   representation body, of a length given by the suffix-length value. (That is,
823   this form specifies the last N bytes of a representation.) If the
824   representation is shorter than the specified suffix-length, the entire
825   representation is used.
826</t>
827<t>
828   If a syntactically valid byte-range-set includes at least one byte-range-spec
829   whose first-byte-pos is less than the current length of
830   the representation, or at least one suffix-byte-range-spec with a non-zero
831   suffix-length, then the byte-range-set is satisfiable.
832   Otherwise, the byte-range-set is unsatisfiable. If the byte-range-set
833   is unsatisfiable, the server &SHOULD; return a response with a
834   416 (Requested range not satisfiable) status code. Otherwise, the server
835   &SHOULD; return a response with a 206 (Partial Content) status code
836   containing the satisfiable ranges of the representation.
837</t>
838<t>
839   Examples of byte-ranges-specifier values (assuming a representation of
840   length 10000):
841  <list style="symbols">
842     <t>The first 500 bytes (byte offsets 0-499, inclusive):
843<figure><artwork type="example" x:indent-with="   ">
844  bytes=0-499
845</artwork></figure>
846    </t>
847     <t>The second 500 bytes (byte offsets 500-999, inclusive):
848<figure><artwork type="example" x:indent-with="   ">
849  bytes=500-999
850</artwork></figure>
851    </t>
852     <t>The final 500 bytes (byte offsets 9500-9999, inclusive):
853<figure><artwork type="example" x:indent-with="   ">
854  bytes=-500
855</artwork></figure>
856    Or:
857<figure><artwork type="example" x:indent-with="   ">
858  bytes=9500-
859</artwork></figure>
860    </t>
861     <t>The first and last bytes only (bytes 0 and 9999):
862<figure><artwork type="example" x:indent-with="   ">
863  bytes=0-0,-1
864</artwork></figure>
865     </t>
866     <t>Several legal but not canonical specifications of the second 500
867        bytes (byte offsets 500-999, inclusive):
868<figure><artwork type="example" x:indent-with="   ">
869  bytes=500-600,601-999
870  bytes=500-700,601-999
871</artwork></figure>
872     </t>
873  </list>
874</t>
875</section>
876
877<section title="Range Retrieval Requests" anchor="range.retrieval.requests">
878  <x:anchor-alias value="Range"/>
879  <x:anchor-alias value="other-ranges-specifier"/>
880  <x:anchor-alias value="other-range-set"/>
881<t>
882   The "Range" header field defines the GET method (conditional or
883   not) to request one or more sub-ranges of the response representation body, instead
884   of the entire representation body.
885</t>
886<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Range"/>
887  <x:ref>Range</x:ref> = <x:ref>byte-ranges-specifier</x:ref> / <x:ref>other-ranges-specifier</x:ref>
888  <x:ref>other-ranges-specifier</x:ref> = <x:ref>other-range-unit</x:ref> "=" <x:ref>other-range-set</x:ref>
889  <x:ref>other-range-set</x:ref> = 1*<x:ref>CHAR</x:ref>
890</artwork></figure>
891<t>
892   A server &MAY; ignore the Range header field. However, origin
893   servers and intermediate caches ought to support byte ranges when
894   possible, since Range supports efficient recovery from partially
895   failed transfers, and supports efficient partial retrieval of large
896   representations.
897</t>
898<t>
899   If the server supports the Range header field and the specified range or
900   ranges are appropriate for the representation:
901  <list style="symbols">
902     <t>The presence of a Range header field in an unconditional GET modifies
903        what is returned if the GET is otherwise successful. In other
904        words, the response carries a status code of 206 (Partial
905        Content) instead of 200 (OK).</t>
906
907     <t>The presence of a Range header field in a conditional GET (a request
908        using one or both of If-Modified-Since and If-None-Match, or
909        one or both of If-Unmodified-Since and If-Match) modifies what
910        is returned if the GET is otherwise successful and the
911        condition is true. It does not affect the 304 (Not Modified)
912        response returned if the conditional is false.</t>
913  </list>
914</t>
915<t>
916   In some cases, it might be more appropriate to use the If-Range
917   header field (see <xref target="header.if-range"/>) in addition to the Range
918   header field.
919</t>
920<t>
921   If a proxy that supports ranges receives a Range request, forwards
922   the request to an inbound server, and receives an entire representation in
923   reply, it &MAY; only return the requested range to its client.
924</t>
925</section>
926</section>
927</section>
928
929<section title="IANA Considerations" anchor="IANA.considerations">
930
931<section title="Status Code Registration" anchor="status.code.registration">
932<t>
933   The HTTP Status Code Registry located at <eref target="http://www.iana.org/assignments/http-status-codes"/>
934   shall be updated with the registrations below:
935</t>
936<?BEGININC p5-range.iana-status-codes ?>
937<!--AUTOGENERATED FROM extract-status-code-defs.xslt, do not edit manually-->
938<texttable align="left" suppress-title="true" anchor="iana.status.code.registration.table">
939   <ttcol>Value</ttcol>
940   <ttcol>Description</ttcol>
941   <ttcol>Reference</ttcol>
942   <c>206</c>
943   <c>Partial Content</c>
944   <c>
945      <xref target="status.206"/>
946   </c>
947   <c>416</c>
948   <c>Requested Range Not Satisfiable</c>
949   <c>
950      <xref target="status.416"/>
951   </c>
952</texttable>
953<!--(END)-->
954<?ENDINC p5-range.iana-status-codes ?>
955</section>
956
957<section title="Header Field Registration" anchor="header.field.registration">
958<t>
959   The Message Header Field Registry located at <eref target="http://www.iana.org/assignments/message-headers/message-header-index.html"/> shall be updated
960   with the permanent registrations below (see <xref target="RFC3864"/>):
961</t>
962<?BEGININC p5-range.iana-headers ?>
963<!--AUTOGENERATED FROM extract-header-defs.xslt, do not edit manually-->
964<texttable align="left" suppress-title="true" anchor="iana.header.registration.table">
965   <ttcol>Header Field Name</ttcol>
966   <ttcol>Protocol</ttcol>
967   <ttcol>Status</ttcol>
968   <ttcol>Reference</ttcol>
969
970   <c>Accept-Ranges</c>
971   <c>http</c>
972   <c>standard</c>
973   <c>
974      <xref target="header.accept-ranges"/>
975   </c>
976   <c>Content-Range</c>
977   <c>http</c>
978   <c>standard</c>
979   <c>
980      <xref target="header.content-range"/>
981   </c>
982   <c>If-Range</c>
983   <c>http</c>
984   <c>standard</c>
985   <c>
986      <xref target="header.if-range"/>
987   </c>
988   <c>Range</c>
989   <c>http</c>
990   <c>standard</c>
991   <c>
992      <xref target="header.range"/>
993   </c>
994</texttable>
995<!--(END)-->
996<?ENDINC p5-range.iana-headers ?>
997<t>
998   The change controller is: "IETF (iesg@ietf.org) - Internet Engineering Task Force".
999</t>
1000</section>
1001
1002<section title="Range Specifier Registration" anchor="range.specifier.registration">
1003<t>
1004  The registration procedure for HTTP Range Specifiers is defined by
1005  <xref target="range.specifier.registry"/> of this document.
1006</t>
1007<t>
1008   The HTTP Range Specifier Registry shall be created at <eref target="http://www.iana.org/assignments/http-range-specifiers"/>
1009   and be populated with the registrations below:
1010</t>
1011<texttable align="left" suppress-title="true" anchor="iana.range.specifiers.table">
1012   <ttcol>Range Specifier Name</ttcol>
1013   <ttcol>Description</ttcol>
1014   <ttcol>Reference</ttcol>
1015
1016   <c>bytes</c>
1017   <c>a range of octets</c>
1018   <c>(this specification)</c>
1019</texttable>
1020<t>
1021   The change controller is: "IETF (iesg@ietf.org) - Internet Engineering Task Force".
1022</t>
1023</section>
1024</section>
1025
1026<section title="Security Considerations" anchor="security.considerations">
1027<t>
1028   This section is meant to inform application developers, information
1029   providers, and users of the security limitations in HTTP/1.1 as
1030   described by this document. The discussion does not include
1031   definitive solutions to the problems revealed, though it does make
1032   some suggestions for reducing security risks.
1033</t>
1034<section title="Overlapping Ranges" anchor="overlapping.ranges">
1035<t>
1036   Range requests containing overlapping ranges may lead to the situation
1037   where a server is sending far more data than the size of the complete
1038   resource representation.
1039</t>
1040</section>
1041</section>
1042
1043<section title="Acknowledgments" anchor="acks">
1044<t>
1045  See &acks;.
1046</t>
1047</section>
1048</middle>
1049<back>
1050
1051<references title="Normative References">
1052
1053<reference anchor="Part1">
1054  <front>
1055    <title abbrev="HTTP/1.1">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</title>
1056    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
1057      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
1058      <address><email>fielding@gbiv.com</email></address>
1059    </author>
1060    <author initials="J." surname="Gettys" fullname="Jim Gettys">
1061      <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
1062      <address><email>jg@freedesktop.org</email></address>
1063    </author>
1064    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
1065      <organization abbrev="HP">Hewlett-Packard Company</organization>
1066      <address><email>JeffMogul@acm.org</email></address>
1067    </author>
1068    <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
1069      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1070      <address><email>henrikn@microsoft.com</email></address>
1071    </author>
1072    <author initials="L." surname="Masinter" fullname="Larry Masinter">
1073      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
1074      <address><email>LMM@acm.org</email></address>
1075    </author>
1076    <author initials="P." surname="Leach" fullname="Paul J. Leach">
1077      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1078      <address><email>paulle@microsoft.com</email></address>
1079    </author>
1080    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
1081      <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
1082      <address><email>timbl@w3.org</email></address>
1083    </author>
1084    <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
1085      <organization abbrev="W3C">World Wide Web Consortium</organization>
1086      <address><email>ylafon@w3.org</email></address>
1087    </author>
1088    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
1089      <organization abbrev="greenbytes">greenbytes GmbH</organization>
1090      <address><email>julian.reschke@greenbytes.de</email></address>
1091    </author>
1092    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
1093  </front>
1094  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p1-messaging-&ID-VERSION;"/>
1095  <x:source href="p1-messaging.xml" basename="p1-messaging"/>
1096</reference>
1097
1098<reference anchor="Part2">
1099  <front>
1100    <title abbrev="HTTP/1.1">HTTP/1.1, part 2: Message Semantics</title>
1101    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
1102      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
1103      <address><email>fielding@gbiv.com</email></address>
1104    </author>
1105    <author initials="J." surname="Gettys" fullname="Jim Gettys">
1106      <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
1107      <address><email>jg@freedesktop.org</email></address>
1108    </author>
1109    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
1110      <organization abbrev="HP">Hewlett-Packard Company</organization>
1111      <address><email>JeffMogul@acm.org</email></address>
1112    </author>
1113    <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
1114      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1115      <address><email>henrikn@microsoft.com</email></address>
1116    </author>
1117    <author initials="L." surname="Masinter" fullname="Larry Masinter">
1118      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
1119      <address><email>LMM@acm.org</email></address>
1120    </author>
1121    <author initials="P." surname="Leach" fullname="Paul J. Leach">
1122      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1123      <address><email>paulle@microsoft.com</email></address>
1124    </author>
1125    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
1126      <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
1127      <address><email>timbl@w3.org</email></address>
1128    </author>
1129    <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
1130      <organization abbrev="W3C">World Wide Web Consortium</organization>
1131      <address><email>ylafon@w3.org</email></address>
1132    </author>
1133    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
1134      <organization abbrev="greenbytes">greenbytes GmbH</organization>
1135      <address><email>julian.reschke@greenbytes.de</email></address>
1136    </author>
1137    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
1138  </front>
1139  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p2-semantics-&ID-VERSION;"/>
1140  <x:source href="p2-semantics.xml" basename="p2-semantics"/>
1141</reference>
1142
1143<reference anchor="Part4">
1144  <front>
1145    <title abbrev="HTTP/1.1">HTTP/1.1, part 4: Conditional Requests</title>
1146    <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor">
1147      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
1148      <address><email>fielding@gbiv.com</email></address>
1149    </author>
1150    <author initials="J." surname="Gettys" fullname="Jim Gettys">
1151      <organization abbrev="Alcatel-Lucent">Alcatel-Lucent Bell Labs</organization>
1152      <address><email>jg@freedesktop.org</email></address>
1153    </author>
1154    <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
1155      <organization abbrev="HP">Hewlett-Packard Company</organization>
1156      <address><email>JeffMogul@acm.org</email></address>
1157    </author>
1158    <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
1159      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1160      <address><email>henrikn@microsoft.com</email></address>
1161    </author>
1162    <author initials="L." surname="Masinter" fullname="Larry Masinter">
1163      <organization abbrev="Adobe">Adobe Systems Incorporated</organization>
1164      <address><email>LMM@acm.org</email></address>
1165    </author>
1166    <author initials="P." surname="Leach" fullname="Paul J. Leach">
1167      <organization abbrev="Microsoft">Microsoft Corporation</organization>
1168      <address><email>paulle@microsoft.com</email></address>
1169    </author>
1170    <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
1171      <organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
1172      <address><email>timbl@w3.org</email></address>
1173    </author>
1174    <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor">
1175      <organization abbrev="W3C">World Wide Web Consortium</organization>
1176      <address><email>ylafon@w3.org</email></address>
1177    </author>
1178    <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor">
1179      <organization abbrev="greenbytes">greenbytes GmbH</organization>
1180      <address><email>julian.reschke@greenbytes.de</email></address>
1181    </author>
1182    <date month="&ID-MONTH;" year="&ID-YEAR;"/>
1183  </front>
1184  <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p4-conditional-&ID-VERSION;"/>
1185  <x:source href="p4-conditional.xml" basename="p4-conditional"/>
1186</reference>
1187
1188<reference anchor="RFC2046">
1189  <front>
1190    <title abbrev="Media Types">Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types</title>
1191    <author initials="N." surname="Freed" fullname="Ned Freed">
1192      <organization>Innosoft International, Inc.</organization>
1193      <address><email>ned@innosoft.com</email></address>
1194    </author>
1195    <author initials="N." surname="Borenstein" fullname="Nathaniel S. Borenstein">
1196      <organization>First Virtual Holdings</organization>
1197      <address><email>nsb@nsb.fv.com</email></address>
1198    </author>
1199    <date month="November" year="1996"/>
1200  </front>
1201  <seriesInfo name="RFC" value="2046"/>
1202</reference>
1203
1204<reference anchor="RFC2119">
1205  <front>
1206    <title>Key words for use in RFCs to Indicate Requirement Levels</title>
1207    <author initials="S." surname="Bradner" fullname="Scott Bradner">
1208      <organization>Harvard University</organization>
1209      <address><email>sob@harvard.edu</email></address>
1210    </author>
1211    <date month="March" year="1997"/>
1212  </front>
1213  <seriesInfo name="BCP" value="14"/>
1214  <seriesInfo name="RFC" value="2119"/>
1215</reference>
1216
1217<reference anchor="RFC5234">
1218  <front>
1219    <title abbrev="ABNF for Syntax Specifications">Augmented BNF for Syntax Specifications: ABNF</title>
1220    <author initials="D." surname="Crocker" fullname="Dave Crocker" role="editor">
1221      <organization>Brandenburg InternetWorking</organization>
1222      <address>
1223        <email>dcrocker@bbiw.net</email>
1224      </address> 
1225    </author>
1226    <author initials="P." surname="Overell" fullname="Paul Overell">
1227      <organization>THUS plc.</organization>
1228      <address>
1229        <email>paul.overell@thus.net</email>
1230      </address>
1231    </author>
1232    <date month="January" year="2008"/>
1233  </front>
1234  <seriesInfo name="STD" value="68"/>
1235  <seriesInfo name="RFC" value="5234"/>
1236</reference>
1237
1238</references>
1239
1240<references title="Informative References">
1241
1242<reference anchor="RFC2616">
1243  <front>
1244    <title>Hypertext Transfer Protocol -- HTTP/1.1</title>
1245    <author initials="R." surname="Fielding" fullname="R. Fielding">
1246      <organization>University of California, Irvine</organization>
1247      <address><email>fielding@ics.uci.edu</email></address>
1248    </author>
1249    <author initials="J." surname="Gettys" fullname="J. Gettys">
1250      <organization>W3C</organization>
1251      <address><email>jg@w3.org</email></address>
1252    </author>
1253    <author initials="J." surname="Mogul" fullname="J. Mogul">
1254      <organization>Compaq Computer Corporation</organization>
1255      <address><email>mogul@wrl.dec.com</email></address>
1256    </author>
1257    <author initials="H." surname="Frystyk" fullname="H. Frystyk">
1258      <organization>MIT Laboratory for Computer Science</organization>
1259      <address><email>frystyk@w3.org</email></address>
1260    </author>
1261    <author initials="L." surname="Masinter" fullname="L. Masinter">
1262      <organization>Xerox Corporation</organization>
1263      <address><email>masinter@parc.xerox.com</email></address>
1264    </author>
1265    <author initials="P." surname="Leach" fullname="P. Leach">
1266      <organization>Microsoft Corporation</organization>
1267      <address><email>paulle@microsoft.com</email></address>
1268    </author>
1269    <author initials="T." surname="Berners-Lee" fullname="T. Berners-Lee">
1270      <organization>W3C</organization>
1271      <address><email>timbl@w3.org</email></address>
1272    </author>
1273    <date month="June" year="1999"/>
1274  </front>
1275  <seriesInfo name="RFC" value="2616"/>
1276</reference>
1277
1278<reference anchor='RFC3864'>
1279  <front>
1280    <title>Registration Procedures for Message Header Fields</title>
1281    <author initials='G.' surname='Klyne' fullname='G. Klyne'>
1282      <organization>Nine by Nine</organization>
1283      <address><email>GK-IETF@ninebynine.org</email></address>
1284    </author>
1285    <author initials='M.' surname='Nottingham' fullname='M. Nottingham'>
1286      <organization>BEA Systems</organization>
1287      <address><email>mnot@pobox.com</email></address>
1288    </author>
1289    <author initials='J.' surname='Mogul' fullname='J. Mogul'>
1290      <organization>HP Labs</organization>
1291      <address><email>JeffMogul@acm.org</email></address>
1292    </author>
1293    <date year='2004' month='September' />
1294  </front>
1295  <seriesInfo name='BCP' value='90' />
1296  <seriesInfo name='RFC' value='3864' />
1297</reference>
1298
1299<reference anchor="RFC4288">
1300  <front>
1301    <title>Media Type Specifications and Registration Procedures</title>
1302    <author initials="N." surname="Freed" fullname="N. Freed">
1303      <organization>Sun Microsystems</organization>
1304      <address>
1305        <email>ned.freed@mrochek.com</email>
1306      </address>
1307    </author>
1308    <author initials="J." surname="Klensin" fullname="J. Klensin">
1309      <address>
1310        <email>klensin+ietf@jck.com</email>
1311      </address>
1312    </author>
1313    <date year="2005" month="December"/>
1314  </front>
1315  <seriesInfo name="BCP" value="13"/>
1316  <seriesInfo name="RFC" value="4288"/>
1317</reference>
1318
1319<reference anchor='RFC5226'>
1320  <front>
1321    <title>Guidelines for Writing an IANA Considerations Section in RFCs</title>
1322    <author initials='T.' surname='Narten' fullname='T. Narten'>
1323      <organization>IBM</organization>
1324      <address><email>narten@us.ibm.com</email></address>
1325    </author>
1326    <author initials='H.' surname='Alvestrand' fullname='H. Alvestrand'>
1327      <organization>Google</organization>
1328      <address><email>Harald@Alvestrand.no</email></address>
1329    </author>
1330    <date year='2008' month='May' />
1331  </front>
1332  <seriesInfo name='BCP' value='26' />
1333  <seriesInfo name='RFC' value='5226' />
1334</reference>
1335
1336</references>
1337
1338<section title="Internet Media Type multipart/byteranges" anchor="internet.media.type.multipart.byteranges">
1339<iref item="Media Type" subitem="multipart/byteranges" primary="true"/>
1340<iref item="multipart/byteranges Media Type" primary="true"/>
1341<t>
1342   When an HTTP 206 (Partial Content) response message includes the
1343   content of multiple ranges (a response to a request for multiple
1344   non-overlapping ranges), these are transmitted as a multipart
1345   message-body (<xref target="RFC2046" x:fmt="," x:sec="5.1"/>). The media type for this purpose is called
1346   "multipart/byteranges".  The following is to be registered with IANA <xref target="RFC4288"/>.
1347</t>
1348<x:note>
1349  <t>
1350    <x:h>Note:</x:h> Despite the name "multipart/byteranges" is not limited to the byte ranges only.
1351  </t>
1352</x:note>
1353<t>
1354   The multipart/byteranges media type includes one or more parts, each
1355   with its own Content-Type and Content-Range fields. The required
1356   boundary parameter specifies the boundary string used to separate
1357   each body-part.
1358</t>
1359<t>
1360  <list style="hanging" x:indent="12em">
1361    <t hangText="Type name:">
1362      multipart
1363    </t>
1364    <t hangText="Subtype name:">
1365      byteranges
1366    </t>
1367    <t hangText="Required parameters:">
1368      boundary
1369    </t>
1370    <t hangText="Optional parameters:">
1371      none
1372    </t>
1373    <t hangText="Encoding considerations:">
1374      only "7bit", "8bit", or "binary" are permitted
1375    </t>
1376    <t hangText="Security considerations:">
1377      none
1378    </t>
1379    <t hangText="Interoperability considerations:">
1380      none
1381    </t>
1382    <t hangText="Published specification:">
1383      This specification (see <xref target="internet.media.type.multipart.byteranges"/>).
1384    </t>
1385    <t hangText="Applications that use this media type:">
1386    </t>
1387    <t hangText="Additional information:">
1388      <list style="hanging">
1389        <t hangText="Magic number(s):">none</t>
1390        <t hangText="File extension(s):">none</t>
1391        <t hangText="Macintosh file type code(s):">none</t>
1392      </list>
1393    </t>
1394    <t hangText="Person and email address to contact for further information:">
1395      See Authors Section.
1396    </t>
1397    <t hangText="Intended usage:">
1398      COMMON
1399    </t>
1400    <t hangText="Restrictions on usage:">
1401      none
1402    </t>
1403    <t hangText="Author/Change controller:">
1404      IESG
1405    </t>
1406  </list>
1407</t>
1408<figure><preamble>
1409   For example:
1410</preamble><artwork type="example">
1411  HTTP/1.1 206 Partial Content
1412  Date: Wed, 15 Nov 1995 06:25:24 GMT
1413  Last-Modified: Wed, 15 Nov 1995 04:58:08 GMT
1414  Content-type: multipart/byteranges; boundary=THIS_STRING_SEPARATES
1415 
1416  --THIS_STRING_SEPARATES
1417  Content-type: application/pdf
1418  Content-range: bytes 500-999/8000
1419 
1420  ...the first range...
1421  --THIS_STRING_SEPARATES
1422  Content-type: application/pdf
1423  Content-range: bytes 7000-7999/8000
1424 
1425  ...the second range
1426  --THIS_STRING_SEPARATES--
1427</artwork></figure>
1428<figure><preamble>
1429   Other example:
1430</preamble>
1431<artwork type="example">
1432  HTTP/1.1 206 Partial Content
1433  Date: Tue, 14 Nov 1995 06:25:24 GMT
1434  Last-Modified: Tue, 14 July 04:58:08 GMT
1435  Content-type: multipart/byteranges; boundary=THIS_STRING_SEPARATES
1436 
1437  --THIS_STRING_SEPARATES
1438  Content-type: video/example
1439  Content-range: exampleunit 1.2-4.3/25
1440 
1441  ...the first range...
1442  --THIS_STRING_SEPARATES
1443  Content-type: video/example
1444  Content-range: exampleunit 11.2-14.3/25
1445 
1446  ...the second range
1447  --THIS_STRING_SEPARATES--
1448</artwork>
1449</figure>
1450<t>
1451      Notes:
1452  <list style="numbers">
1453      <t>Additional CRLFs &MAY; precede the first boundary string in the body.</t>
1454
1455      <t>Although <xref target="RFC2046"/> permits the boundary string to be
1456         quoted, some existing implementations handle a quoted boundary
1457         string incorrectly.</t>
1458
1459      <t>A number of browsers and servers were coded to an early draft
1460         of the byteranges specification to use a media type of
1461         multipart/x-byteranges<iref item="multipart/x-byteranges Media Type"/><iref item="Media Type" subitem="multipart/x-byteranges"/>, which is almost, but not quite
1462         compatible with the version documented in HTTP/1.1.</t>
1463  </list>
1464</t>
1465</section>
1466
1467<section title="Compatibility with Previous Versions" anchor="compatibility">
1468<section title="Changes from RFC 2616" anchor="changes.from.rfc.2616">
1469<t>
1470  Clarify that it is not ok to use a weak validator in a 206 response.
1471  (<xref target="status.206"/>)
1472</t>
1473<t>
1474  Change ABNF productions for header fields to only define the field value.
1475  (<xref target="header.field.definitions"/>)
1476</t>
1477<t>
1478  Clarify that multipart/byteranges can consist of a single part.
1479  (<xref target="internet.media.type.multipart.byteranges"/>)
1480</t>
1481</section>
1482
1483</section>
1484
1485<?BEGININC p5-range.abnf-appendix ?>
1486<section xmlns:x="http://purl.org/net/xml2rfc/ext" title="Collected ABNF" anchor="collected.abnf">
1487<figure>
1488<artwork type="abnf" name="p5-range.parsed-abnf">
1489<x:ref>Accept-Ranges</x:ref> = acceptable-ranges
1490
1491<x:ref>Content-Range</x:ref> = byte-content-range-spec / other-content-range-spec
1492
1493<x:ref>HTTP-date</x:ref> = &lt;HTTP-date, defined in [Part2], Section 8&gt;
1494
1495<x:ref>If-Range</x:ref> = entity-tag / HTTP-date
1496
1497<x:ref>OWS</x:ref> = &lt;OWS, defined in [Part1], Section 1.2.2&gt;
1498
1499<x:ref>Range</x:ref> = byte-ranges-specifier / other-ranges-specifier
1500
1501<x:ref>acceptable-ranges</x:ref> = ( *( "," OWS ) range-unit *( OWS "," [ OWS
1502 range-unit ] ) ) / "none"
1503
1504<x:ref>byte-content-range-spec</x:ref> = bytes-unit SP byte-range-resp-spec "/" (
1505 instance-length / "*" )
1506<x:ref>byte-range-resp-spec</x:ref> = ( first-byte-pos "-" last-byte-pos ) / "*"
1507<x:ref>byte-range-set</x:ref> = ( *( "," OWS ) byte-range-spec ) / (
1508 suffix-byte-range-spec *( OWS "," [ ( OWS byte-range-spec ) /
1509 suffix-byte-range-spec ] ) )
1510<x:ref>byte-range-spec</x:ref> = first-byte-pos "-" [ last-byte-pos ]
1511<x:ref>byte-ranges-specifier</x:ref> = bytes-unit "=" byte-range-set
1512<x:ref>bytes-unit</x:ref> = "bytes"
1513
1514<x:ref>entity-tag</x:ref> = &lt;entity-tag, defined in [Part4], Section 2.3&gt;
1515
1516<x:ref>first-byte-pos</x:ref> = 1*DIGIT
1517
1518<x:ref>instance-length</x:ref> = 1*DIGIT
1519
1520<x:ref>last-byte-pos</x:ref> = 1*DIGIT
1521
1522<x:ref>other-content-range-spec</x:ref> = other-range-unit SP other-range-resp-spec
1523<x:ref>other-range-resp-spec</x:ref> = *CHAR
1524<x:ref>other-range-set</x:ref> = 1*CHAR
1525<x:ref>other-range-unit</x:ref> = token
1526<x:ref>other-ranges-specifier</x:ref> = other-range-unit "=" other-range-set
1527
1528<x:ref>range-unit</x:ref> = bytes-unit / other-range-unit
1529
1530<x:ref>suffix-byte-range-spec</x:ref> = "-" suffix-length
1531<x:ref>suffix-length</x:ref> = 1*DIGIT
1532
1533<x:ref>token</x:ref> = &lt;token, defined in [Part1], Section 3.2.3&gt;
1534</artwork>
1535</figure>
1536<figure><preamble>ABNF diagnostics:</preamble><artwork type="inline">
1537; Accept-Ranges defined but not used
1538; Content-Range defined but not used
1539; If-Range defined but not used
1540; Range defined but not used
1541</artwork></figure></section>
1542<?ENDINC p5-range.abnf-appendix ?>
1543
1544
1545<section title="Change Log (to be removed by RFC Editor before publication)" anchor="change.log">
1546
1547<section title="Since RFC 2616">
1548<t>
1549  Extracted relevant partitions from <xref target="RFC2616"/>.
1550</t>
1551</section>
1552
1553<section title="Since draft-ietf-httpbis-p5-range-00">
1554<t>
1555  Closed issues:
1556  <list style="symbols">
1557    <t>
1558      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/18"/>:
1559      "Cache validators in 206 responses"
1560      (<eref target="http://purl.org/NET/http-errata#ifrange206"/>)
1561    </t>
1562    <t>
1563      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/35"/>:
1564      "Normative and Informative references"
1565    </t>
1566    <t>
1567      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/86"/>:
1568      "Normative up-to-date references"
1569    </t>
1570  </list>
1571</t>
1572</section>
1573
1574<section title="Since draft-ietf-httpbis-p5-range-01">
1575<t>
1576  Closed issues:
1577  <list style="symbols">
1578    <t>
1579      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/55"/>:
1580      "Updating to RFC4288"
1581    </t>
1582  </list>
1583</t>
1584<t>
1585  Ongoing work on ABNF conversion (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36"/>):
1586  <list style="symbols">
1587    <t>
1588      Add explicit references to BNF syntax and rules imported from other parts of the specification.
1589    </t>
1590  </list>
1591</t>
1592</section>
1593
1594<section title="Since draft-ietf-httpbis-p5-range-02" anchor="changes.since.02">
1595<t>
1596  Ongoing work on IANA Message Header Field Registration (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/40"/>):
1597  <list style="symbols">
1598    <t>
1599      Reference RFC 3984, and update header field registrations for headers defined
1600      in this document.
1601    </t>
1602  </list>
1603</t>
1604</section>
1605
1606<section title="Since draft-ietf-httpbis-p5-range-03" anchor="changes.since.03">
1607<t>
1608  None.
1609</t>
1610</section>
1611
1612<section title="Since draft-ietf-httpbis-p5-range-04" anchor="changes.since.04">
1613<t>
1614  Closed issues:
1615  <list style="symbols">
1616    <t>
1617      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/133"/>:
1618      "multipart/byteranges minimum number of parts"
1619    </t>
1620  </list>
1621</t>
1622<t>
1623  Ongoing work on ABNF conversion (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36"/>):
1624  <list style="symbols">
1625    <t>
1626      Use "/" instead of "|" for alternatives.
1627    </t>
1628    <t>
1629      Introduce new ABNF rules for "bad" whitespace ("BWS"), optional
1630      whitespace ("OWS") and required whitespace ("RWS").
1631    </t>
1632    <t>
1633      Rewrite ABNFs to spell out whitespace rules, factor out
1634      header field value format definitions.
1635    </t>
1636  </list>
1637</t>
1638</section>
1639
1640<section title="Since draft-ietf-httpbis-p5-range-05" anchor="changes.since.05">
1641<t>
1642  Closed issues:
1643  <list style="symbols">
1644    <t>
1645      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/142"/>:
1646      "State base for *-byte-pos and suffix-length"
1647    </t>
1648  </list>
1649</t>
1650<t>
1651  Ongoing work on Custom Ranges (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/85"/>):
1652  <list style="symbols">
1653    <t>
1654      Remove bias in favor of byte ranges; allow custom ranges in ABNF.
1655    </t>
1656  </list>
1657</t>
1658<t>
1659  Final work on ABNF conversion (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36"/>):
1660  <list style="symbols">
1661    <t>
1662      Add appendix containing collected and expanded ABNF, reorganize ABNF introduction.
1663    </t>
1664  </list>
1665</t>
1666</section>
1667
1668<section title="Since draft-ietf-httpbis-p5-range-06" anchor="changes.since.06">
1669<t>
1670  Closed issues:
1671  <list style="symbols">
1672    <t>
1673      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/161"/>:
1674      "base for numeric protocol elements"
1675    </t>
1676  </list>
1677</t>
1678</section>
1679
1680<section title="Since draft-ietf-httpbis-p5-range-07" anchor="changes.since.07">
1681<t>
1682  Closed issues:
1683  <list style="symbols">
1684    <t>
1685      Fixed discrepancy in the If-Range definition about allowed validators.
1686    </t>
1687    <t>
1688      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/150" />: "multipart/byteranges for custom range units"
1689    </t>
1690    <t>
1691      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/151" />: "range unit missing from other-ranges-specifier in Range header"
1692    </t>
1693    <t>
1694      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/198"/>:
1695      "move IANA registrations for optional status codes"
1696    </t>
1697  </list>
1698</t>
1699</section>
1700
1701<section title="Since draft-ietf-httpbis-p5-range-08" anchor="changes.since.08">
1702<t>
1703  No significant changes.
1704</t>
1705</section>
1706
1707<section title="Since draft-ietf-httpbis-p5-range-09" anchor="changes.since.09">
1708<t>
1709 No significant changes.
1710</t>
1711</section>
1712
1713<section title="Since draft-ietf-httpbis-p5-range-10" anchor="changes.since.10">
1714<t>
1715  Closed issues:
1716  <list style="symbols">
1717    <t>
1718      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/69"/>:
1719      "Clarify 'Requested Variant'"
1720    </t>
1721    <t>
1722      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/109"/>:
1723      "Clarify entity / representation / variant terminology"
1724    </t>
1725    <t>
1726      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/220"/>:
1727      "consider removing the 'changes from 2068' sections"
1728    </t>
1729  </list>
1730</t>
1731<t>
1732  Ongoing work on Custom Ranges (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/85"/>):
1733  <list style="symbols">
1734    <t>
1735      Add IANA registry.
1736    </t>
1737  </list>
1738</t>
1739</section>
1740
1741<section title="Since draft-ietf-httpbis-p5-range-11" anchor="changes.since.11">
1742<t>
1743  Closed issues:
1744  <list style="symbols">
1745    <t>
1746      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/217"/>:
1747      "Caches can't be required to serve ranges"
1748    </t>
1749  </list>
1750</t>
1751</section>
1752
1753<section title="Since draft-ietf-httpbis-p5-range-12" anchor="changes.since.12">
1754<t>
1755  Closed issues:
1756  <list style="symbols">
1757    <t>
1758      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/224"/>:
1759      "Header Classification"
1760    </t>
1761  </list>
1762</t>
1763</section>
1764
1765<section title="Since draft-ietf-httpbis-p5-range-13" anchor="changes.since.13">
1766<t>
1767  Closed issues:
1768  <list style="symbols">
1769    <t>
1770      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/276"/>:
1771      "untangle ABNFs for header fields"
1772    </t>
1773  </list>
1774</t>
1775</section>
1776
1777<section title="Since draft-ietf-httpbis-p5-range-14" anchor="changes.since.14">
1778<t>
1779  None.
1780</t>
1781</section>
1782
1783<section title="Since draft-ietf-httpbis-p5-range-15" anchor="changes.since.15">
1784<t>
1785  Closed issues:
1786  <list style="symbols">
1787    <t>
1788      <eref target="http://trac.tools.ietf.org/wg/httpbis/trac/ticket/175"/>:
1789      "Security consideration: range flooding"
1790    </t>
1791  </list>
1792</t>
1793</section>
1794
1795<section title="Since draft-ietf-httpbis-p5-range-16" anchor="changes.since.16">
1796<t>
1797  Closed issues:
1798  <list style="symbols">
1799    <t>
1800      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/186"/>:
1801      "Document HTTP's error-handling philosophy"
1802    </t>
1803    <t>
1804      <eref target="http://trac.tools.ietf.org/wg/httpbis/trac/ticket/301"/>:
1805      "Content-Range on responses other than 206"
1806    </t>
1807    <t>
1808      <eref target="http://trac.tools.ietf.org/wg/httpbis/trac/ticket/319"/>:
1809      "case sensitivity of ranges in p5"
1810    </t>
1811  </list>
1812</t>
1813</section>
1814
1815<section title="Since draft-ietf-httpbis-p5-range-17" anchor="changes.since.17">
1816<t>
1817  No changes yet.
1818</t>
1819</section>
1820
1821</section>
1822
1823</back>
1824</rfc>
Note: See TracBrowser for help on using the repository browser.