home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / rfc / 1800s / rfc1873.txt < prev    next >
Text File  |  1995-12-18  |  6KB  |  228 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                        E. Levinson
  8. Request for Comments: 1873            Accurate Information Systems, Inc.
  9. Category: Experimental                                          J. Clark
  10.                                                            December 1995
  11.  
  12.  
  13.               Message/External-Body Content-ID Access Type
  14.  
  15. Status of this Memo
  16.  
  17.    This memo defines an Experimental Protocol for the Internet
  18.    community.  This memo does not specify an Internet standard of any
  19.    kind.  Discussion and suggestions for improvement are requested.
  20.    Distribution of this memo is unlimited.
  21.  
  22. Abstract
  23.  
  24.    When using MIME [MIME] to encapsulate a structured object that
  25.    consist of many elements, for example an SGML [SGML] document, a
  26.    single element may occur several times.  An encapsulation normally
  27.    maps each of the structured objects elements to a MIME entity.  It is
  28.    useful to include elements that occur multiple time exactly once.  To
  29.    accomplish that and to preserve the object structure it is desirable
  30.    to unambiguously refer to another body part of the same message.
  31.  
  32.    The existing MIME Content-Type Message/External-Body access-types
  33.    allow a MIME entity (body-part) to refer to an object that is not in
  34.    the message by specifying how to access that object.  The Content-ID
  35.    access method described in this document provides the capability to
  36.    refer to an object within the message.
  37.  
  38. 1. Introduction
  39.  
  40.    Consider a MIME multipart entity several of whose body parts contain
  41.    the same data (body) but different parameters or Content-* headers.
  42.    Representing those body parts without duplicating the data in each
  43.    one promotes efficient use of resources (bandwidth and storage
  44.    space).  To achieve these benefits an access-type is defined that
  45.    permits one message part to refer to another one in the same message.
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58. Levinson & Clark              Experimental                      [Page 1]
  59.  
  60. RFC 1873                Access Type Content-ID             December 1995
  61.  
  62.  
  63. 2. The Content-ID Access Type
  64.  
  65. 2.1 Registration Information
  66.  
  67.        MIME access-type name:   content-id
  68.  
  69.        Required parameters:     none
  70.  
  71.        Optional parameters:     none
  72.  
  73.        Published specification: this document
  74.  
  75.        Person & email address
  76.        to contact for further
  77.        information:             Ed Levinson <ELevinson@accurate.com>
  78.  
  79.        Additional requirements:
  80.  
  81.        The content-id header of the access-type=content-id MIME
  82.        entity must match (be identical to) exactly one content-id
  83.        in the same message, excluding other access-type=content-id
  84.        entities.  Thus, the content-id access type can only occur
  85.        within a multipart message and can refer to another body
  86.        part anywhere in the same message.
  87.  
  88.        A MIME User Agent (MUA) constructs the resultant MIME body
  89.        part as described below.  We call the access-type=content-id
  90.        MIME entity the referring body part and the MIME body part
  91.        to which it refers, the one with the matching content-id,
  92.        the referenced body part.  The MIME entity that results from
  93.        content-id access type consists of:
  94.  
  95.    (a) the referenced body part's content-type header,
  96.  
  97.    (b) the referring body part's headers except its content-type
  98.        header,
  99.  
  100.    (c) any headers in the referenced body part not in the referring
  101.        one,
  102.  
  103.    (d)  the line separating the headers from the body, and
  104.  
  105.    (e)  the referenced body part's body.
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114. Levinson & Clark              Experimental                      [Page 2]
  115.  
  116. RFC 1873                Access Type Content-ID             December 1995
  117.  
  118.  
  119. 2.2 Example Usage
  120.  
  121.    The following example shows a message that consists of two identical
  122.    images.
  123.  
  124.             MIME-Version: 1.0
  125.             Content-Type: Multipart/Mixed;
  126.                boundary=tiger-lily
  127.  
  128.             --tiger-lily
  129.             Content-Type: image/jpeg
  130.             Content-ID: <950323.1552@XIson.com>
  131.  
  132.             AAAcdb...
  133.             --tiger-lily
  134.             Content-type: Message/External-Body;
  135.                access-type=content-id
  136.             Content-ID: <950323.1552@XIson.com>
  137.             Content-Description:
  138.                This body part is duplicated by reference
  139.  
  140.             --tiger-lily--
  141.  
  142.        The equivalent MIME entity for the second body part is:
  143.  
  144.             --tiger-lily
  145.             Content-Type: image/jpeg
  146.             Content-ID: <950323.1552@XIson.com>
  147.             Content-Description:
  148.                This body part is duplicated by reference
  149.  
  150.             AAAcdb...
  151.             --tiger-lily
  152.  
  153. 3. Security Considerations
  154.  
  155.    The content-id access-type does not impact the security of messages
  156.    or systems.  The referenced MIME entity may have security
  157.    implications.
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170. Levinson & Clark              Experimental                      [Page 3]
  171.  
  172. RFC 1873                Access Type Content-ID             December 1995
  173.  
  174.  
  175. 4. References
  176.  
  177.  
  178.    [822]       Crocker, D., "Standard for the Format of ARPA Internet
  179.                Text Messages", STD 11, RFC 822, UDEL, August 1982.
  180.  
  181.    [SGML]      ISO 8879:1988, Information processing -- Text and office
  182.                systems -- Standard Generalized Markup Language (SGML).
  183.  
  184.    [MIME]      Borenstein, N., and N. Freed, "MIME  (Multipurpose
  185.                Internet Mail Extensions) Part One: Mechanisms for
  186.                Specifying and Describing the Format of Internet
  187.                Message Bodies", RFC 1521, Bellcore, Innosoft,
  188.                September 1993.
  189.  
  190. 5. Authors' Addresses
  191.  
  192. Edward Levinson
  193. Accurate Information Systems, Inc.
  194. 2 Industrial Way
  195. Eatontown, NJ  07724-2265
  196. USA
  197.  
  198. Phone: +1 908 389 5550
  199. EMail: <ELevinson@Accurate.com>
  200.  
  201.  
  202. James Clark
  203. 90 Clarendon Road
  204. London W11 2HR
  205. UK
  206.  
  207. EMail: <jjc@jclark.com>
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226. Levinson & Clark              Experimental                      [Page 4]
  227.  
  228.