Changeset 2143 for draft-ietf-httpbis/latest/p5-range.xml
- Timestamp:
- 20/01/13 14:57:02 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/p5-range.xml
r2142 r2143 475 475 476 476 477 <section title="Status Code Definitions" anchor="status.code.definitions"> 477 <section title="Responses to a Range Request" anchor="range.response"> 478 <section title="Response to a Single and Multiple Ranges Request"> 479 <t> 480 When an HTTP message includes the content of a single range (for 481 example, a response to a request for a single range, or to a request 482 for a set of ranges that overlap without any holes), this content is 483 transmitted with a <x:ref>Content-Range</x:ref> header field, and a 484 <x:ref>Content-Length</x:ref> header field showing the number of bytes 485 actually transferred. For example, 486 </t> 487 <figure><artwork type="message/http; msgtype="response"" x:indent-with=" "> 488 HTTP/1.1 206 Partial Content 489 Date: Wed, 15 Nov 1995 06:25:24 GMT 490 Last-Modified: Wed, 15 Nov 1995 04:58:08 GMT 491 Content-Range: bytes 21010-47021/47022 492 Content-Length: 26012 493 Content-Type: image/gif 494 </artwork></figure> 495 <t> 496 When an HTTP message includes the content of multiple ranges (for 497 example, a response to a request for multiple non-overlapping 498 ranges), these are transmitted as a multipart message. The multipart 499 media type used for this purpose is "multipart/byteranges" as defined 500 in <xref target="internet.media.type.multipart.byteranges"/>. 501 </t> 502 <t> 503 A server &MAY; combine requested ranges when those ranges are overlapping 504 (see <xref target="overlapping.ranges"/>). 505 </t> 506 <t> 507 A response to a request for a single range &MUST-NOT; be sent using the 508 multipart/byteranges media type. A response to a request for 509 multiple ranges, whose result is a single range, &MAY; be sent as a 510 multipart/byteranges media type with one part. A client that cannot 511 decode a multipart/byteranges message &MUST-NOT; ask for multiple 512 ranges in a single request. 513 </t> 514 <t> 515 When a client asks for multiple ranges in one request, the 516 server &SHOULD; send them in the order that they appeared in the 517 request. 518 </t> 519 </section> 520 478 521 <section title="206 Partial Content" anchor="status.206"> 479 522 <iref primary="true" item="206 Partial Content (status code)" x:for-anchor=""/> … … 562 605 </t> 563 606 </x:note> 564 </section>565 </section>566 567 <section title="Responses to a Range Request" anchor="range.response">568 <section title="Response to a Single and Multiple Ranges Request">569 <t>570 When an HTTP message includes the content of a single range (for571 example, a response to a request for a single range, or to a request572 for a set of ranges that overlap without any holes), this content is573 transmitted with a <x:ref>Content-Range</x:ref> header field, and a574 <x:ref>Content-Length</x:ref> header field showing the number of bytes575 actually transferred. For example,576 </t>577 <figure><artwork type="message/http; msgtype="response"" x:indent-with=" ">578 HTTP/1.1 206 Partial Content579 Date: Wed, 15 Nov 1995 06:25:24 GMT580 Last-Modified: Wed, 15 Nov 1995 04:58:08 GMT581 Content-Range: bytes 21010-47021/47022582 Content-Length: 26012583 Content-Type: image/gif584 </artwork></figure>585 <t>586 When an HTTP message includes the content of multiple ranges (for587 example, a response to a request for multiple non-overlapping588 ranges), these are transmitted as a multipart message. The multipart589 media type used for this purpose is "multipart/byteranges" as defined590 in <xref target="internet.media.type.multipart.byteranges"/>.591 </t>592 <t>593 A server &MAY; combine requested ranges when those ranges are overlapping594 (see <xref target="overlapping.ranges"/>).595 </t>596 <t>597 A response to a request for a single range &MUST-NOT; be sent using the598 multipart/byteranges media type. A response to a request for599 multiple ranges, whose result is a single range, &MAY; be sent as a600 multipart/byteranges media type with one part. A client that cannot601 decode a multipart/byteranges message &MUST-NOT; ask for multiple602 ranges in a single request.603 </t>604 <t>605 When a client asks for multiple ranges in one request, the606 server &SHOULD; send them in the order that they appeared in the607 request.608 </t>609 607 </section> 610 608
Note: See TracChangeset
for help on using the changeset viewer.