Movatterモバイル変換


[0]ホーム

URL:


some text some more text after the images

some more text without images

some more text

Herriot Informational [Page 14] RFC 3391 Application/Multiplexed December 2002

some final text

--boundary-example Content-ID:<49568.45876xxx@foo.com> Content-Location: http://foo.com/images/image1.gif Content-Type: image/gif Content-Disposition: attachment<> --boundary-example Content-ID:<49568.46000xxx@foo.com> Content-Location: http://foo.com/images/image2.gif Content-Type: image/gif Content-Disposition: attachment<> --boundary-example Content-ID:<49568.47333xxx@foo.com> Content-Type: image/gif Content-Disposition: attachment<> --boundary-example--5.2 Examples with Application/Vnd.pwg-multiplexed The four examples in this section show Application/Vnd.pwg- multiplexed representations of the same compound object. Note that each CRLF is represented by a visual line break.5.2.1 Example Where Each Chunk Has a Complete Message In this example, the compound object is represented as an Application/Vnd.pwg-multiplexed entity. Each chunk contains an entire message, i.e., none of the messages are split across multiple chunks. Each message in this example is identical to the corresponding body part in the preceding Multipart/Relate example. Content-Type: application/vnd.pwg-multiplexed; type="application/vnd.pwg-xhtml-print+xml" CHK 1 550 LAST Content-ID:<49568.44343xxx@foo.com> Content-Type: application/vnd.pwg-xhtml-print+xml Content-Disposition: inlineHerriot Informational [Page 15] RFC 3391 Application/Multiplexed December 2002

some text some more text after the images

some more text without images

some more text

some final text

CHK 2 6346 LAST Content-ID:<49568.45876xxx@foo.com> Content-Location: http://foo.com/images/image1.gif Content-Type: image/gif Content-Disposition: attachment<> CHK 3 6401 LAST Content-ID:<49568.46000xxx@foo.com> Content-Location: http://foo.com/images/image2.gif Content-Type: image/gif Content-Disposition: attachment<> CHK 4 7603 LAST Content-ID:<49568.47333xxx@foo.com> Content-Type: image/gif Content-Disposition: attachment<> CHK 0 0 LASTHerriot Informational [Page 16] RFC 3391 Application/Multiplexed December 20025.2.2 Example of Chunking the Root Message In this example, the compound object is represented as an Application/Vnd.pwg-multiplexed entity. The message containing the XHTML component is split into 3 pieces so that the reference to an image is as close as possible to the beginning of the chunk. The chunk containing the referenced image message occurs just before the chunk with the reference. This minimizes the distance between reference and referenced message. Note that there are other possible arrangements (see the third example in section 5.2.3). For example, a sender could split the XHTML message so that the reference to an image is as close as possible to the end of the chunk. Then the chunk containing the referenced image message should occur just after the chunk with the reference. The sender could mix this strategy with the one used in this example. Content-Type: application/vnd.pwg-multiplexed; type=" application/vnd.pwg-xhtml-print+xml" CHK 1 267 MORE Content-ID:<49568.44343xxx@foo.com> Content-Type: application/vnd.pwg-xhtml-print+xml Content-Disposition: inline

some text CHK 2 6346 LAST Content-ID:<49568.45876xxx@foo.com> Content-Location: http://foo.com/images/image1.gif Content-Type: image/gif Content-Disposition: attachment<> CHK 3 6401 LAST Content-ID:<49568.46000xxx@foo.com> Content-Location: http://foo.com/images/image2.gif Content-Type: image/gif Content-Disposition: attachmentHerriot Informational [Page 17] RFC 3391 Application/Multiplexed December 2002<> CHK 1 166 MORE some more text after the images

some more text without images

some more text CHK 4 7603 LAST Content-ID:<49568.47333xxx@foo.com> Content-Type: image/gif Content-Disposition: attachment<> CHK 1 80 LAST

some final text

CHK 0 0 LAST5.2.3 Example of Chunking the Several Messages In this example, the compound object is represented as an Application/Vnd.pwg-multiplexed entity. The message containing the XHTML component is split into 4 pieces so that the reference to an image is as close as possible to either the beginning or the end of the chunk. The references to the first and second images closely follow the referenced images. The reference to the third image closely precedes the referenced image. This minimizes the distance between reference and referenced message. In addition, the first two image messages are split into two chunks each. Content-Type: application/vnd.pwg-multiplexed; type=" application/vnd.pwg-xhtml-print+xml" CHK 1 303 MORE Content-ID:<49568.44343xxx@foo.com> Content-Type: application/vnd.pwg-xhtml-print+xml Content-Disposition: inlineHerriot Informational [Page 18] RFC 3391 Application/Multiplexed December 2002

some text CHK 2 184 MORE Content-ID:<49568.45876xxx@foo.com> Content-Location: http://foo.com/images/image1.gif Content-Type: image/gif Content-Disposition: attachment<> CHK 3 200 MORE Content-ID:<49568.46000xxx@foo.com> Content-Location: http://foo.com/images/image2.gif Content-Type: image/gif Content-Disposition: attachment<> CHK 1 78 MORE CHK 2 6162 LAST<> CHK 3 6201 LAST<> CHK 1 127 MORE some more text after the images

some more text without images

some more text CHK 4 7603 LAST Content-ID:<49568.47333xxx@foo.com> Content-Type: image/gif Content-Disposition: attachmentHerriot Informational [Page 19] RFC 3391 Application/Multiplexed December 2002<> CHK 1 41 LAST

some final text

CHK 0 0 LAST5.2.4 Example of Chunks with Empty Payloads This example is identical to the previous one, except that some chunks have a chunk payload of zero octets. The root message starts with a chunk whose payload is empty and every message ends with a chunk whose payload is empty. This example also shows two adjacent chunks that are from the same message. These two chunks could be coalesced into a single chunk, but they might be kept separate for programming convenience. Content-Type: application/vnd.pwg-multiplexed; type=" application/vnd.pwg-xhtml-print+xml" CHK 1 0 MORE CHK 2 184 MORE Content-ID:<49568.45876xxx@foo.com> Content-Location: http://foo.com/images/image1.gif Content-Type: image/gif Content-Disposition: attachment<> CHK 3 200 MORE Content-ID:<49568.46000xxx@foo.com> Content-Location: http://foo.com/images/image2.gif Content-Type: image/gif Content-Disposition: attachment<> CHK 1 303 MORE Content-ID:<49568.44343xxx@foo.com> Content-Type: application/vnd.pwg-xhtml-print+xml Content-Disposition: inlineHerriot Informational [Page 20] RFC 3391 Application/Multiplexed December 2002

some text CHK 2 6162 MORE<> CHK 3 6201 MORE<> CHK 2 0 LAST CHK 3 0 LAST CHK 1 78 MORE CHK 4 7603 MORE Content-ID:<49568.47333xxx@foo.com> Content-Type: image/gif Content-Disposition: attachment<> CHK 4 0 LAST CHK 1 127 MORE some more text after the images

some more text without images

some more text CHK 1 41 MORE

some final text


[8]ページ先頭

©2009-2026 Movatter.jp