Changeset 994 for draft-ietf-httpbis/latest/p5-range.xml
- Timestamp:
- 07/09/10 11:46:12 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/p5-range.xml
r981 r994 334 334 <t> 335 335 If a range unit is not understood in a request, a server &MUST; ignore 336 the whole Range header (<xref target="header.range"/>).336 the whole Range header field (<xref target="header.range"/>). 337 337 If a range unit is not understood in a response, an intermediary 338 338 &SHOULD; pass the response to the client; a client &MUST; fail. … … 403 403 <t> 404 404 A cache &MUST-NOT; combine a 206 response with other previously cached 405 content if the ETag or Last-Modified header s do not match exactly,405 content if the ETag or Last-Modified header fields do not match exactly, 406 406 see <xref target="combining.byte.ranges"/>. 407 407 </t> 408 408 <t> 409 A cache that does not support the Range and Content-Range header s409 A cache that does not support the Range and Content-Range header fields 410 410 &MUST-NOT; cache 206 (Partial Content) responses. Furthermore, 411 411 if a response uses a range unit that is not understood by the cache, … … 492 492 <t> 493 493 but are not required to do so. Clients &MAY; generate range 494 requests without having received this header f or the resource494 requests without having received this header field for the resource 495 495 involved. Range units are defined in <xref target="range.units"/>. 496 496 </t> … … 546 546 </artwork></figure> 547 547 <t> 548 The header &SHOULD; indicate the total length of the full representation,548 The header field &SHOULD; indicate the total length of the full representation, 549 549 unless this length is unknown or difficult to determine. The asterisk 550 550 "*" character means that the instance-length is unknown at the time … … 606 606 example, a response to a request for a single range, or to a request 607 607 for a set of ranges that overlap without any holes), this content is 608 transmitted with a Content-Range header , and a Content-Length header609 showing the number of bytes actually transferred. For example,608 transmitted with a Content-Range header field, and a Content-Length header 609 field showing the number of bytes actually transferred. For example, 610 610 </t> 611 611 <figure><artwork type="example"> … … 655 655 <x:h>Note:</x:h> Clients cannot depend on servers to send a 416 (Requested 656 656 range not satisfiable) response instead of a 200 (OK) response for 657 an unsatisfiable Range request-header , since not all servers658 implement this request-header .657 an unsatisfiable Range request-header field, since not all servers 658 implement this request-header field. 659 659 </t> 660 660 </x:note> … … 669 669 If a client has a partial copy of a representation in its cache, and wishes 670 670 to have an up-to-date copy of the entire representation in its cache, it 671 could use the Range request-header with a conditional GET (using671 could use the Range request-header field with a conditional GET (using 672 672 either or both of If-Unmodified-Since and If-Match.) However, if the 673 673 condition fails because the representation has been modified, the client … … 687 687 <t> 688 688 If the client has no entity-tag for a representation, but does have a Last-Modified 689 date, it &MAY; use that date in an If-Range header . (The689 date, it &MAY; use that date in an If-Range header field. (The 690 690 server can distinguish between a valid HTTP-date and any form of 691 691 entity-tag by examining no more than two characters.) The If-Range 692 header &SHOULD; only be used together with a Range header, and &MUST; be693 ignored if the request does not include a Range header , or if the692 header field &SHOULD; only be used together with a Range header field, and &MUST; be 693 ignored if the request does not include a Range header field, or if the 694 694 server does not support the sub-range operation. 695 695 </t> 696 696 <t> 697 If the entity-tag given in the If-Range header matches the current697 If the entity-tag given in the If-Range header field matches the current 698 698 cache validator for the representation, then the server &SHOULD; provide the 699 699 specified sub-range of the representation using a 206 (Partial Content) … … 840 840 </artwork></figure> 841 841 <t> 842 A server &MAY; ignore the Range header . However, HTTP/1.1 origin842 A server &MAY; ignore the Range header field. However, HTTP/1.1 origin 843 843 servers and intermediate caches ought to support byte ranges when 844 844 possible, since Range supports efficient recovery from partially … … 847 847 </t> 848 848 <t> 849 If the server supports the Range header and the specified range or849 If the server supports the Range header field and the specified range or 850 850 ranges are appropriate for the representation: 851 851 <list style="symbols"> 852 <t>The presence of a Range header in an unconditional GET modifies852 <t>The presence of a Range header field in an unconditional GET modifies 853 853 what is returned if the GET is otherwise successful. In other 854 854 words, the response carries a status code of 206 (Partial 855 855 Content) instead of 200 (OK).</t> 856 856 857 <t>The presence of a Range header in a conditional GET (a request857 <t>The presence of a Range header field in a conditional GET (a request 858 858 using one or both of If-Modified-Since and If-None-Match, or 859 859 one or both of If-Unmodified-Since and If-Match) modifies what … … 865 865 <t> 866 866 In some cases, it might be more appropriate to use the If-Range 867 header (see <xref target="header.if-range"/>) in addition to the Range header. 867 header field (see <xref target="header.if-range"/>) in addition to the Range 868 header field. 868 869 </t> 869 870 <t> … … 1498 1499 <section title="Since draft-ietf-httpbis-p5-range-02" anchor="changes.since.02"> 1499 1500 <t> 1500 Ongoing work on IANA Message Header Registration (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/40"/>):1501 Ongoing work on IANA Message Header Field Registration (<eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/40"/>): 1501 1502 <list style="symbols"> 1502 1503 <t> 1503 Reference RFC 3984, and update header registrations for headers defined1504 Reference RFC 3984, and update header field registrations for headers defined 1504 1505 in this document. 1505 1506 </t> … … 1535 1536 <t> 1536 1537 Rewrite ABNFs to spell out whitespace rules, factor out 1537 header value format definitions.1538 header field value format definitions. 1538 1539 </t> 1539 1540 </list>
Note: See TracChangeset
for help on using the changeset viewer.