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

Last change on this file since 695 was 689, checked in by julian.reschke@…, 10 years ago

Bump up document dates, update to latest version of rfc2629.xslt

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