home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / drafts / draft_ietf_j_p / draft-ietf-mhtml-rev-02.txt < prev    next >
Text File  |  1997-10-28  |  51KB  |  1,229 lines

  1. Network Working Group                                       Jacob Palme
  2. Internet Draft                                 Stockholm University/KTH
  3. draft-ietf-mhtml-rev-02.txt                           Alexander Hopmann
  4. IETF status to be: Proposed standard              Microsoft Corporation
  5. Revises: RFC 2110
  6. Expires: March 1998                                        October 1997
  7.  
  8.  
  9. MIME Encapsulation of Aggregate Documents, such as HTML (MHTML)
  10.  
  11.  
  12.  
  13. Status of this Document
  14.  
  15.  
  16. This document is an Internet-Draft. Internet-Drafts are working
  17. documents of the Internet Engineering Task Force (IETF), its areas, and
  18. its working groups. Note that other groups may also distribute working
  19. documents as Internet-Drafts.
  20.  
  21. Internet-Drafts are draft documents valid for a maximum of six months
  22. and may be updated, replaced, or obsoleted by other documents at any
  23. time. It is inappropriate to use Internet-Drafts as reference material
  24. or to cite them other than as "work in progress."
  25.  
  26. To learn the current status of any Internet-Draft, please check the
  27. "1id-abstracts.txt" listing contained in the Internet-Drafts Shadow
  28. Directories on ftp.is.co.za (Africa), nic.nordu.net (Europe),
  29. munnari.oz.au (Pacific Rim), ds.internic.net (US East Coast), or
  30. ftp.isi.edu (US West Coast).
  31.  
  32.  
  33. Abstract
  34.  
  35.    Although HTML [RFC 1866] was designed within the context of MIME,
  36.    more than the specification of HTML as defined in RFC 1866 is needed
  37.    for two electronic mail user agents to be able to interoperate using
  38.    HTML as a document format. These issues include the naming of
  39.    objects that are normally referred to by URIs, and the means of
  40.    aggregating objects that go together. This document describes a set
  41.    of guidelines that will allow conforming mail user agents to be able
  42.    to send, deliver and display these objects, such as HTML objects,
  43.    that can contain links represented by URIs. In order to be able to
  44.    handle inter-linked objects, the document uses the MIME type
  45.    ''multipart/related'' and specifies the MIME content-headers
  46.    ''Content-Location'' and ''Content-Base''. The guidelines in this
  47.    document can also be used when sending aggregate HTML objects in
  48.    other forms than e-mail, such as through HTTP or FTP.
  49.  
  50.    Differences compared to the previous version of this proposed
  51.    standard, published in RFC 2110, are summarized in chapter 13.
  52.  
  53.  
  54. Table of Contents
  55.  
  56. 1. Introduction
  57. 2. Terminology
  58.    2.1 Conformance requirement terminology
  59.    2.2 Other terminology
  60. 3. Overview
  61. 4. The Content-Location and Content-Base MIME Content Headers
  62.    4.1 MIME content headers
  63.    4.2 The Content-Location Header
  64.    4.3 The Content-Base header
  65.    4.4 Encoding of URIs in MIME headers
  66. 5. Base URIs for resolution of relative URIs
  67. 6. Sending documents without linked objects
  68. 7. Use of the Content-Type: "multipart/related"
  69. 8. Usage of Links to Other Body Parts
  70.    8.1 General principle
  71.    8.2 Resolution of hyperlinks in text/html body parts
  72.    8.3 Use of the Content-ID header and CID URLs
  73.    8.4 Conformance requirement on receipt
  74. 9. Examples
  75.    9.1 Example of a HTML body without included linked objects
  76.    9.2 Example with absolute URIs to an embedded GIF picture
  77.    9.3 Example with relative URIs to an embedded GIF picture
  78.    9.4 Example with relative URIs and no BASE available
  79.    9.5 Example using a BASE on the Multipart
  80.    9.6 Example using CID URL and Content-ID header to an embedded GIF
  81.        picture
  82. 10. Content-Disposition header
  83. 11. Character encoding issues and end-of-line issues
  84. 12. Security Considerations
  85. 13. Differences as compared to the previous version of this proposed
  86.     standard in RFC 2110
  87. 14. Copyright
  88. 15. Acknowledgments
  89. 16. References
  90. 17. Author's Addresses
  91.  
  92.  
  93. Mailing List Information
  94.  
  95. To write contributions
  96.  
  97.      Further discussion on this document should be done through the
  98.      mailing list MHTML@SEGATE.SUNET.SE.
  99.  
  100.      Comments on less important details may also be sent to the editor,
  101.      Jacob Palme <jpalme@dsv.su.se>.
  102.  
  103. To subscribe
  104.  
  105.      To subscribe to this list, send a message to
  106.      LISTSERV@SEGATE.SUNET.SE
  107.      which contains the text
  108.      SUB MHTML <your name (not your email address)>
  109.  
  110. To unsubscribe
  111.  
  112.      To unsubscribe to this list, send a message to
  113.      LISTSERV@SEGATE.SUNET.SE
  114.      which contains the text
  115.      UNS MHTML
  116.  
  117. To access mailing list archives
  118.  
  119.      Archives of this list are available for bulk downloading by
  120.      anonymous ftp from
  121.      FTP://SEGATE.SUNET.SE/lists/mhtml/
  122.  
  123.      The archives are available for browsing from
  124.      HTTP://segate.sunet.se/archives/mhtml.html
  125.  
  126.      and in searchable format from
  127.  
  128.      http://www.reference.com/cgi-bin/pn/
  129.      listarch?list=MHTML@segate.sunet.se
  130.  
  131.      Finally, the archives are available by email. Send a message to
  132.      LISTSERV@SEGATE.SUNET.SE with the text "INDEX MHTML" to get a list
  133.      of the archive files, and then a new message "GET <file name>" to
  134.      retrieve the archive files.
  135.  
  136. More information
  137.  
  138.      Information about the IETF work in developing this standard may
  139.      also be available at URL:
  140.      http://www.dsv.su.se/~jpalme/ietf/mhtml.html
  141.  
  142.      A collection of test messages is available at
  143.      http://www.dsv.su.se/~jpalme/mimetest/MHTML-test-messages.html
  144.  
  145.  
  146. 1.    Introduction
  147.  
  148. There are a number of document formats, Hypertext Markup Language
  149. [HTML2], Portable Document format [PDF] and Virtual Reality Markup
  150. Language [VRML] for example, which provide links using URIs for their
  151. resolution. There is an obvious need to be able to send documents in
  152. these formats in email [SMTP], [RFC822]. This document gives additional
  153. specifications on how to send such documents in MIME-formatted [MIME1
  154. to MIME5] messages. This version of this standard was based on full
  155. consideration only of the needs for objects with links in the text/html
  156. media type (as defined in [HTML2]), but the standard may still be
  157. applicable also to other formats for sets of interlinked objects,
  158. linked by URIs. There is no conformance requirement that
  159. implementations claiming conformance to this standard are able to
  160. handle URI-s in other document formats than HTML.
  161.  
  162. URIs in documents in HTML and other similar formats reference other
  163. objects and resources, either embedded or directly accessible through
  164. hypertext links. When mailing such a document, it is often desirable to
  165. also mail all of the additional resources that are referenced in it;
  166. those elements are necessary for the complete interpretation of the
  167. primary object. Also with other protocols such as HTTP or FTP, it can
  168. sometimes be desirable to send several documents in one aggregate
  169. document.
  170.  
  171. An alternative way for sending an HTML document or other object
  172. containing URIs in email is to only send the URI, and let the recipient
  173. look up the document using HTTP. That method is described in [URLBODY]
  174. and is not described in this document.
  175.  
  176. An informational RFC will be published as a supplement to this
  177. standard. The informational RFC will discuss implementation methods and
  178. some implementation problems. Implementors are recommended to read this
  179. informational RFC when developing implementations of the MHTML
  180. standard. This informational RFC is, when this RFC is published, still
  181. in IETF draft status.
  182.  
  183.  
  184. 2.    Terminology
  185.  
  186. 2.1   Conformance requirement terminology
  187.  
  188. The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
  189. "SHOULD", "SHOULD NOT", "RECOMMENDED",  "MAY", and "OPTIONAL" in this
  190. document are to be interpreted as described in [IETF-TERMS].
  191.  
  192. An implementation is not compliant if it fails to satisfy one or more
  193. of the MUST requirements for the protocols it implements. An
  194. implementation that satisfies all the MUST and all the SHOULD
  195. requirements for its protocols is said to be "unconditionally
  196. compliant"; one that satisfies all the MUST requirements but not all
  197. the SHOULD requirements for its protocols is said to be "conditionally
  198. compliant."
  199.  
  200.  
  201. 2.2   Other terminology
  202.  
  203. Most of the terms used in this document are defined in other RFCs.
  204.  
  205. Absolute URI,         See Relative Uniform Resource Locators [RELURL].
  206. AbsoluteURI
  207.  
  208. CID                   See Message/External Body Content-ID [MIDCID].
  209.  
  210. Content-Base          See section 4.2 below.
  211.  
  212. Content-ID            See Message/External Body Content-ID [MIDCID].
  213.  
  214. Content-Location      MIME message or content part header with the URI of
  215.                       the MIME message or content part body, defined in
  216.                       section 4.3 below.
  217.  
  218. Content-Transfer-     Conversion of a text into 7-bit octets as specified
  219. Encoding              in [MIME1] chapter 6.
  220.  
  221. CR                    See [RFC822].
  222.  
  223. CRLF                  See [RFC822].
  224.  
  225. Displayed text        The text shown to the user reading a document with
  226.                       a web browser. This may be different from the HTML
  227.                       markup, see the definition of HTML markup below.
  228.  
  229. Header                Field in a message or content heading specifying
  230.                       the value of one attribute.
  231.  
  232. Heading               Part of a message or content before the first
  233.                       CRLFCRLF, containing formatted fields with
  234.                       attributes of the message or content.
  235.  
  236. HTML                  See HTML 2 specification [HTML2].
  237.  
  238. HTML Aggregate        HTML objects together with some or all objects, to
  239. objects               which the HTML object contains hyperlinks.
  240.  
  241. HTML markup           A file containing HTML encodings as specified in
  242.                       [HTML] which may be different from the displayed
  243.                       text which a person using a web browser sees. For
  244.                       example, the HTML markup may contain "<" where
  245.                       the displayed text contains the character "<".
  246.  
  247. LF                    See [RFC822].
  248.  
  249. MIC                   Message Integrity Codes, codes use to verify that a
  250.                       message has not been modified.
  251.  
  252. MIME                  See the MIME specifications [MIME1 to MIME5].
  253.  
  254. MUA                   Messaging User Agent.
  255.  
  256. PDF                   Portable Document Format, see [PDF].
  257.  
  258. Relative URI,         See HTML 2 [HTML2] and RFC 1808[RELURL].
  259. RelativeURI
  260.  
  261. URI, absolute and     See RFC 1866 [HTML2].
  262. relative
  263.  
  264. URL                   See RFC 1738 [URL].
  265.  
  266. URL, relative         See Relative Uniform Resource Locators [RELURL].
  267.  
  268. VRML                  See Virtual Reality Markup Language [VRML].
  269.  
  270.  
  271. 3.    Overview
  272.  
  273. An aggregate document is a MIME-encoded message that contains a root
  274. document as well as other data that is required in order to represent
  275. that document (inline pictures, style sheets, applets, etc.). Aggregate
  276. documents can also include additional elements that are linked to the
  277. first object.  It is important to keep in mind the differing needs of
  278. several audiences. Mail sending agents might send aggregate documents
  279. as an encoding of normal day-to-day electronic mail. Mail sending
  280. agents might also send aggregate documents when a user wishes to mail a
  281. particular document from the web to someone else. Finally mail sending
  282. agents might send aggregate documents as automatic responders,
  283. providing access to WWW resources for non-IP connected clients. Also
  284. with other protocols such as HTTP or FTP, there may sometimes be a need
  285. to send aggregate documents in MIME multipart format.
  286.  
  287. Receiving agents also have several differing needs. Some receiving
  288. agents might be able to receive an aggregate document and display it
  289. just as any other text content type would be displayed. Others might
  290. have to pass this aggregate document to a browsing program, and
  291. provisions need to be made to make this possible.
  292.  
  293. Finally several other constraints on the problem arise. It is important
  294. that it be possible for a document to be signed and for it to be able
  295. to be transmitted to a client and displayed with a minimum risk of
  296. breaking the message integrity (MIC) check that is part of the
  297. signature.
  298.  
  299.  
  300. 4.    The Content-Location and Content-Base MIME Content Headers
  301.  
  302. 4.1   MIME content headers
  303.  
  304. In order to resolve URI references to other body parts, two MIME
  305. content headers are defined, Content-Location and Content-Base. Both
  306. these headers can occur in any message or content heading, and will
  307. then be valid within this heading and for its immediate content.
  308.  
  309. These two headers are valid for the content heading or message heading
  310. where they occur and its text. If they occur in multipart headings,
  311. they apply to its body parts only in that they can be used to derive a
  312. base for relative URIs in the body parts, but only if no such base is
  313. provided in the body part itself.
  314.  
  315. These two headers may occur on any message or content heading, but
  316. their usage for handling hyperlinks between body parts in a message
  317. SHOULD only occur inside the same "multipart/related".
  318.  
  319. In practice, at present only those URIs which are URLs are used, but it
  320. is anticipated that other forms of URIs will in the future be used.
  321.  
  322. The syntax for these headers is, using the syntax definition tools from
  323. [RFC822]:
  324.  
  325.     content-location = "Content-Location:"
  326.                        ( absoluteURI | relativeURI )
  327.  
  328.     content-base = "Content-Base:" absoluteURI
  329.  
  330. where URI is restricted to the syntax for URLs as defined in Unform
  331. Resource Locators [URL] until IETF specifies other kinds of URIs.
  332.  
  333. 4.2   The Content-Location Header
  334.  
  335. The Content-Location header specifies the URI that corresponds to the
  336. content of the body part in whose heading the header is placed. Its
  337. value CAN be an absolute or relative URI. Any URI or URL scheme may be
  338. used, but use of non-standardized URI or URL schemes might entail some
  339. risk that recipients cannot handle them correctly.
  340.  
  341. The Content-Location header can be used to indicate that the data sent
  342. under this heading is also retrievable, in identical format, through
  343. normal use of this URI. If used for this purpose, it must contain an
  344. absolute URI or be resolvable, through a Content-Base header, into an
  345. absolute URI. In this case, the information sent in the message can be
  346. seen as a cached version of the original data.
  347.  
  348. The URI in the Content-Location header may, but need not refer to an
  349. object which is actually available globally for retrieval using this
  350. URI (after resolution of relative URIs). However, URI-s in
  351. Content-Location headers (if absolute, or resolvable to absolute URIs)
  352. SHOULD still be globally unique.
  353.  
  354. The header can also be used for data which is not available to some or
  355. all recipients of the message, for example if the header refers to an
  356. object which is only retrievable using this URI in a restricted domain,
  357. such as within a company-internal web space. The header can even
  358. contain a fictious URI and need in that case not be globally unique.
  359.  
  360. There MUST only be a single Content-Location header in each message or
  361. content-heading, and its value is a single URI. Note however, that both
  362. one Content-Location and one Content-ID or Message-ID header are
  363. allowed. In such a case, these will indicate two different, equally
  364. valid references for this body part, and any of them may be used in
  365. other body parts within one "multipart/related" to refer to this body
  366. part.
  367.  
  368. Example:
  369.  
  370. Content-Type: "multipart/related"; boundary="boundary-example-1";
  371.                  type="text/html"
  372.  
  373.    --boundary-example-1
  374.  
  375.    Part 1:
  376.    Content-Type: text/html; charset=US-ASCII
  377.  
  378.    ... ... <IMG SRC="fiction1/fiction2"> ... ...
  379.  
  380.    --boundary-example-1
  381.  
  382.    Part 2:
  383.    Content-Type: text/html; charset=US-ASCII
  384.    Content-Location: fiction1/fiction2
  385.  
  386.    --boundary-example-1--
  387.  
  388.  
  389. 4.3   The Content-Base header
  390.  
  391. The Content-Base gives a base for relative URIs occurring in other
  392. fields in the same content heading and in its content, if the text is a
  393. HTML document which does not have any BASE element in its HTML code.
  394. Its value MUST be an absolute URI.
  395.  
  396. Example showing which Content-Base is valid where:
  397.  
  398.    Content-Type: "multipart/related"; boundary="boundary-example-1";
  399.                  type="text/html"; start=<foo2*foo3@bar2.net>
  400.    ; A Content-Base header is allowed here, and can be used
  401.    ; for resolution of relative URL-s in Part 1 and Part 2,
  402.    ; if these did not have any absolute base of their own.
  403.    ; However, both part 1 and part 2 below have an absolute
  404.    ; base, in part 1 through an absolute Content-Location header,
  405.    ; in part 2 through a Content-Base header, and thus a Content-
  406.    ; base up here would not be used for resoultion of relative
  407.    ; URLs within the body parts 1 and 2.
  408.  
  409.    --boundary-example-1
  410.  
  411.    Part 1:
  412.    Content-Type: text/html; charset=US-ASCII
  413.    Content-ID: <foo2*foo3@bar2.net>
  414.    Content-Location: http://www.ietf.cnri.reston.va.us/foo1.bar1
  415.    ;  Since this Content-Location contains an absolute URL, it
  416.    ;  does not need to be resolved using any Content-Base header.
  417.    ;  A combination of a Content-Location with a relative URL
  418.    ;  and a Content-Base with an absolute URL would also be valid,
  419.    ;  as well as only a Content-Location with a relative URL
  420.    ;  and resolved through the Content-Base in the surrounding
  421.    ;  multipart heading.
  422.  
  423.    <FRAME NAME=topwindow src="/frames/foo2.bar2">
  424.  
  425.  
  426.    --boundary-example-1
  427.  
  428.    Part 2:
  429.    Content-Type: text/html; charset=US-ASCII
  430.    Content-ID: <foo4*foo5@bar2.net>
  431.    Content-Location: foo2.bar2   ; The Content-Base below applies to
  432.                                  ; this relative URI
  433.    Content-Base: http://www.ietf.cnri.reston.va.us/frames/
  434.  
  435.    <A HREF="http://www.ietf.cnri.reston.va.us/foo1.bar1">
  436.    To top window </A>
  437.  
  438.    --boundary-example-1--
  439.  
  440.  
  441. 4.4   Encoding of URIs in MIME headers
  442.  
  443. 4.4.1 Handling of URIs containing inappropriate characters
  444.  
  445. Some documents may contain URIs with characters that are inappropriate
  446. for an RFC 822 header, either because the URI itself has an incorrect
  447. syntax according to [URL] or the URI syntax standard has been changed
  448. to allow characters not previously allowed in MIME headers. These URIs
  449. cannot be sent directly in a message header. There are two approaches
  450. that can be taken when encountering such a URI as the text to be placed
  451. in a Content-Location or Content-Base header:
  452.  
  453. a) In some situations, an implementation might be able to replace the
  454. URI with one that can be sent directly. This might be accomplished, for
  455. example, by using the encoding method of [URL] to replace inappropriate
  456. characters within the URI with ones encoded using the "%nn" encoding.
  457. This replacement MUST in that case be done both in the header and in
  458. the HTML text which has a hyperlink which is to match the header. Since
  459. the change is done in both places, a receiving agent need not decode
  460. it, and MUST NOT decode [URL]-encoding before matching hyperlinks to
  461. body parts.
  462.  
  463. b) The URI might be encoded using the method described in [MIME3]. This
  464. replacement MUST only be done in the header, not in the HTML text.
  465. Receiving clients must decode the [MIME3] encoding in the heading
  466. before comparing hyperlinks in body text to URIs in Content-Location
  467. headers.
  468.  
  469. With method (b), the charset parameter value "US-ASCII" SHOULD be used
  470. if the URI contains no octets outside of the 7-bit range. If such
  471. octets are present, the correct charset parameter value (derived e.g.
  472. from information about the HTML document the URI was found in) SHOULD
  473. be used. If this cannot be safely established, the value "UKNOWN-8BIT"
  474. [RFC 1428] MUST be used.
  475.  
  476. Note that for the MHTML processing of matching URIs in body text to URI
  477. in Content-Location headers the value of the charset parameter is
  478. irrelevant, but it may be relevant for other purposes, and incorrect
  479. labeling MUST therefore be avoided. Warning: Irrelevance of the charset
  480. parameter may not be true in the future, if different character
  481. encodings of the same non-English filename is used in HTML.
  482.  
  483. Caution should be taken in using method (a), since, in general, this
  484. encoding can not be applied safely to characters that are used for
  485. reserved purposes within the URI scheme. In addition, changing the HTML
  486. body which contains the URI might invalidate a message integrity check.
  487. Because of these problems, this method SHOULD only be used if it is
  488. performed in cooperation with the author/owner of the documents
  489. involved.
  490.  
  491. 4.4.2 Folding of long URIs
  492.  
  493. Since MIME header fields have a limited length and URIs can get quite
  494. long, these lines may have to be folded.
  495.  
  496. Encoding as discussed in clause 4.4.1 MUST be done before such folding.
  497. This MUST include encoding of space characters, if any. After that, the
  498. folding can be done, using the algorithm defined in [URLBODY] section
  499. 3.1.
  500.  
  501.  
  502. 5.    Base URIs for resolution of relative URIs
  503.  
  504. Relative URIs inside contents of MIME body parts are resolved relative
  505. to a base URI using the methods for resolving relative URIs described
  506. in [RELURL]. In order to determine this base URI, the first-applicable
  507. method in the following list applies.
  508.  
  509. (a) There is a base specification inside the MIME body part containing
  510.     the link which resolves relative URIs into absolute URIs. For
  511.     example, HTML provides the BASE element for this.
  512.  
  513. (b) There is a Content-Base header (as defined in section 4.2), in the
  514.     immediately surrounding content heading, specifying the base to be
  515.     used.
  516.  
  517. (c) There is a Content-Location header in the immediately surrounding
  518.     heading of the body part which contains an absolute URI and can
  519.     then serve as the base in the same way as the requested URI can
  520.     serve as a base for relative URIs within a file retrieved via HTTP
  521.     [HTTP].
  522.  
  523. (d) Step (b) and (c) can be repeated recursively on Content-Base and
  524.     Content-Location headers in surrounding multi-part headings.
  525.     However, a base from an absolute Content-Location in an inner
  526.     heading takes precedence over a base from a Content-Base or a
  527.     Content-Location in a surrounding heading.
  528.  
  529. When the methods above do not yield an absolute URI, matching of two
  530. relative URIs against each other can still be done for matches within a
  531. multipart/related. This matching is done as if they had been given as
  532. base an imaginary URL "this_message:/", which exists for the sole
  533. purpose of resolving relative references within a multipart/related
  534. entitity.
  535.  
  536. This is also described in other words in section 8.2 below.
  537.  
  538.  
  539. 6.    Sending documents without linked objects
  540.  
  541. If a document, such as an HTML object, is sent without other objects,
  542. to which it is linked, it MAY be sent as a text/html body part by
  543. itself. In this case, "multipart/related" need not be used.
  544.  
  545. Such a document may either not include any links, or contain links
  546. which the recipient resolves via ordinary net look up, or contain links
  547. which the recipient cannot resolve.
  548.  
  549. Inclusion of links which the recipient has to look up through the net
  550. may not work for some recipients, since all email recipients do not
  551. have full internet connectivity. Also, such links may work for the
  552. sender but not for the recipient, for example when the link refers to
  553. an URI within a company-internal network not accessible from outside
  554. the company.
  555.  
  556. Note that documents with links that the recipient cannot resolve MAY be
  557. sent, although this is discouraged. For example, two persons developing
  558. a new HTML page may exchange incomplete versions.
  559.  
  560.  
  561. 7.    Use of the Content-Type: "multipart/related"
  562.  
  563. If a message contains one or more MIME body parts containing links and
  564. also contains as separate body parts, data, to which these links (as
  565. defined, for example, in HTML 2.0 [HTML2]) refers, then this whole set
  566. of body parts (referring body parts and referred-to body parts) SHOULD
  567. be sent within a "multipart/related" body part as defined in [REL].
  568.  
  569. Even though Content-Location and Content-Base can occur without
  570. multipart/related, this standard only covers their use for resolution
  571. of links between body parts inside one multipart/related. This standard
  572. does not cover links from one multipart/related to another
  573. multipart/related in a message containing multiple multipart/related
  574. objects.
  575.  
  576. The root body part of the "multipart/related" SHOULD be the start
  577. object for rendering the object, such as a text/html object, and which
  578. contains links to objects in other body parts, or a
  579. multipart/alternative of which at least one alternative resolves to
  580. such a start object. Implementors are warned, however, that some
  581. receiving agents treat multipart/alternative as if it had been
  582. multipart/mixed (even though MIME [MIME1] requires support for
  583. multipart/alternative).
  584.  
  585. [REL] specifies that the type attribute is mandatory in Content-Type:
  586. "multipart/related" headers, and requires that this attribute be the
  587. type of the root object, and this value shall thus for example be
  588. "multipart/alternative", if the root part is of Content-type
  589. "multipart/alternative", even if one of the subparts of the
  590. "multipart/alternative" is of type "text/html". If the root is not the
  591. first body part within the "multipart/related", [REL] further requires
  592. that its Content-ID MUST be given in a start parameter to the
  593. "Content-Type: "multipart/related" header.
  594.  
  595. When presenting the root body part to the user, the additional body
  596. parts within the "multipart/related" can be used:
  597.  
  598. (a) For those recipients who only have email but not full Internet
  599.     access.
  600.  
  601. (b) For those recipients who for other reasons, such as firewalls or
  602.     the use of company-internal links, cannot retrieve the linked body
  603.     parts through the net.
  604.  
  605.     Note that this means that you can, via email, send HTML which
  606.     includes URIs which the recipient cannot resolve via HTTPor other
  607.     connectivity-requiring URIs.
  608.  
  609. (c) To send a document in a format which is preserved even if the
  610.     object to which the hyperlinks refer through HTTP is later changed
  611.     or deleted.
  612.  
  613. (d) For items which are not available on the web.
  614.  
  615. (e) For any recipient to speed up access.
  616.  
  617. The type parameter of the "Content-Type: "multipart/related" MUST be
  618. the same as the Content-Type of its root.
  619.  
  620. When a sending MUA sends objects which were retrieved from the WWW, it
  621. SHOULD maintain their WWW URIs. It SHOULD not transform these URIs into
  622. some other URI form prior to transmitting them. This will allow the
  623. receiving MUA to both verify MICs included with the message, as well as
  624. verify the documents against their WWW counterpoints.
  625.  
  626. In certain special cases this will not work if the original HTML
  627. document contains URIs as parameters to objects and applets. In such a
  628. case, it might be better to rewrite the document before sending it.
  629. This problem is discussed in more detail in the informational RFC which
  630. will be published as a supplement to this standard.
  631.  
  632. This standard does not cover the case where a "multipart/related"
  633. contains links to MIME body parts outside of the current
  634. "multipart/related" or in other MIME messages, even if methods similar
  635. to those described in this standard are used. Implementors who provide
  636. such links are warned that receiving agents implementing this standard
  637. may not be able to resolve such links.
  638.  
  639. Within a "multipart/related", ALL different parts MUST have different
  640. Content-ID values or Content-Location headers which resolve to
  641. different URIs.
  642.  
  643. Two body parts in the same multipart/related can have the same relative
  644. URI as value of their Content-Location headers only if there are
  645. headers containing a different Content-Base header, so that the
  646. absolute URI after resolution against the Content-Base header is
  647. different.
  648.  
  649.  
  650. 8.    Usage of Links to Other Body Parts
  651.  
  652. 8.1   General principle
  653.  
  654. A body part, such as a text/html body part, may contain hyperlinks
  655. to objects which are included as other body parts in the same message
  656. and within the same "multipart/related" content. Often such linked
  657. objects are meant to be displayed inline to the reader of the main
  658. document; for example, objects referenced with the src attribute
  659. of the IMG element in HTML 2.0 [HTML2]. New elements and attributes
  660. with this property are proposed in the ongoing development of HTML
  661. (example: applet, frame, profile, OBJECT, classid, codebase, data,
  662. SCRIPT). A sender might also want to send a set of HTML documents
  663. which the reader can traverse, and which are related with the
  664. attribute href of the A element.
  665.  
  666. In order to send such messages, there is a need to indicate which other
  667. body parts are referred to by the links in the body parts containing
  668. such links. For example, a body part of Content-Type: text/html often
  669. has links to other objects, which might be included in other body parts
  670. in the same MIME message.
  671.  
  672. 8.2   Resolution of hyperlinks in text/html body parts
  673.  
  674. The resolution of hyperlinks in text/html body parts is performed in
  675. the following way:
  676.  
  677. (a) Unfold multiple line header values according to [URLBODY]. Do NOT
  678.     however translate character encodings of the kind described in
  679.     [URL]. Example: Do not transform "a%2eb/c%20d" into "a/b/c d".
  680.  
  681. (b) Remove all MIME encodings, such as content-transfer encoding and
  682.     header encodings as defined in MIME part 3 [MIME3] Do NOT however
  683.     translate character encodings of the kind described in [URL].
  684.     Example: Do not transform "a%2eb/c%20d" into "a/b/c d".
  685.  
  686. (c) Try to resolve all relative URIs in the HTML content and in
  687.     Content-Location headers using the procedure described in chapter 5
  688.     above. The result of this resolution can be an absolute URI, or a
  689.     fictiuous absolute URI with the base "this_message:/" as specified
  690.     in chapter 5.
  691.  
  692. (d) For each hyperlink in any HTML body, compare the value of the
  693.     hyperlink after resolution as described in (a) and (b), with the
  694.     URI derived from Content-ID and Content-Location headers for other
  695.     body parts within the same Multipart/related. If the strings are
  696.     identical, octet by octet, then this hyperlink is resolved by the
  697.     body part with the same URI. This comparison will only succeed if
  698.     the two URIs are identical. This means that if one of the two URIs
  699.     to be compared was a fictituous absolute URI with the base
  700.     "this_message:/", the other must also be such a fictituous absolute
  701.     URI, and not resolvable to a real absolute URI.
  702.  
  703. (e) If (c) fails, try to resolve the hyperlink through ordinary
  704.     Internet lookup. Resolution of hyperlinks of the URL-types "mid" or
  705.     "cid" to other content-parts, outside multipart/related, or in
  706.     other separately sent messages, is not covered by this standard,
  707.     and is thus neither encouraged nor forbidden.
  708.  
  709. 8.3   Use of the Content-ID header and CID URLs
  710.  
  711. When CID (Content-ID) URLs as defined in [URL] and [MIDCID] are used
  712. for links between body parts, the Content-ID header MUST be used
  713. instead of the Content-Location header. Thus, even though the following
  714. two headers are identical in meaning, only the Content-ID variant MUST
  715. be used, and all "Content-Location: CID:" should be ignored.
  716.  
  717. Content-ID: <foo@bar.net>
  718. Content-Location: CID: foo@bar.net
  719.  
  720. Note: Content-IDs MUST be globally unique [MIME1]. It is thus not
  721. permitted to make them unique only within this message or within this
  722. "multipart/related".
  723.  
  724. 8.4   Conformance requirement on receipt
  725.  
  726. An email system which claims conformance to this standard MUST support
  727. receipt of "multipart/related" (as defined in section 7) with links
  728. between body parts using both the Content-Location (as defined in
  729. section 8.2) and the Content-ID method (as defined in section 8.3).
  730.  
  731.  
  732. 9.    Examples
  733.  
  734. Warning: If there is a contradiction between the explanatory text and
  735. the examples in this standard, then the explanatory text, not the
  736. examples are normative.
  737.  
  738. 9.1   Example of a HTML body without included linked objects
  739.  
  740. The first example is the simplest form of an HTML email message. This
  741. is not an aggregate HTML object, but simply a message with a single
  742. HTML body part. This message contains a hyperlink but does not provide
  743. the ability to resolve the hyperlink. To resolve the hyperlink the
  744. receiving client would need either IP access to the Internet, or an
  745. electronic mail web gateway.
  746.  
  747.    From: foo1@bar.net
  748.    To: foo2@bar.net
  749.    Subject: A simple example
  750.    Mime-Version: 1.0
  751.    Content-Type: text/html; charset=US-ASCII
  752.  
  753.    <HTML>
  754.    <head></head>
  755.    <body>
  756.    <h1>Hi there!</h1>
  757.    An example of an HTML message.<p>
  758.    Try clicking <a href="http://www.resnova.com/">here.</a><p>
  759.    </body></HTML>
  760.  
  761. 9.2   Example with absolute URIs to an embedded GIF picture
  762.  
  763.    From: foo1@bar.net
  764.    To: foo2@bar.net
  765.    Subject: A simple example
  766.    Mime-Version: 1.0
  767.    Content-Type: "multipart/related"; boundary="boundary-example-1";
  768.                  type="text/html"; start=<foo3*foo1@bar.net>
  769.  
  770.    --boundary-example-1
  771.       Content-Type: text/html;charset=US-ASCII
  772.       Content-ID: <foo3*foo1@bar.net>
  773.  
  774.       ... text of the HTML document, which might contain a hyperlink
  775.       to the other body part, for example through a statement such as:
  776.       <IMG SRC="http://www.ietf.cnri.reston.va.us/images/ietflogo.gif"
  777.        ALT="IETF logo">
  778.  
  779.    --boundary-example-1
  780.       Content-Location:
  781.             http://www.ietf.cnri.reston.va.us/images/ietflogo.gif
  782.       Content-Type: "IMAGE/GIF"
  783.       Content-Transfer-Encoding: BASE64
  784.  
  785.       R0lGODlhGAGgAPEAAP/////ZRaCgoAAAACH+PUNvcHlyaWdodCAoQykgMTk5
  786.       NSBJRVRGLiBVbmF1dGhvcml6ZWQgZHVwbGljYXRpb24gcHJvaGliaXRlZC4A
  787.       etc...
  788.  
  789.    --boundary-example-1--
  790.  
  791. 9.3   Example with relative URIs to an embedded GIF picture
  792.  
  793.    From: foo1@bar.net
  794.    To: foo2@bar.net
  795.    Subject: A simple example
  796.    Mime-Version: 1.0
  797.    Content-Type: "multipart/related"; boundary="boundary-example-1";
  798.                  type="text/html"
  799.  
  800.    --boundary-example-1
  801.       Content-Base: http://www.ietf.cnri.reston.va.us/
  802.       Content-Type: text/html; charset=ISO-8859-1
  803.       Content-Transfer-Encoding: QUOTED-PRINTABLE
  804.  
  805.       ... text of the HTML document, which might contain a hyperlink
  806.       to the other body part, for example through a statement such as:
  807.       <IMG SRC="/images/ietflogo.gif" ALT="IETF logo">
  808.       Example of a copyright sign encoded with Quoted-Printable: =A9
  809.       Example of a copyright sign mapped onto HTML markup: ¨
  810.  
  811.    --boundary-example-1
  812.       Content-Location: ietflogo.gif
  813.       Content-Base: http://www.ietf.cnri.reston.va.us/images/
  814.       ; Note that the fact that the Content-Base comes after the
  815.       ; Content-Location within the same Content-Heading will not
  816.       ; influence their interpretation
  817.       Content-Type: "IMAGE/GIF"
  818.       Content-Transfer-Encoding: BASE64
  819.  
  820.       R0lGODlhGAGgAPEAAP/////ZRaCgoAAAACH+PUNvcHlyaWdodCAoQykgMTk5
  821.       NSBJRVRGLiBVbmF1dGhvcml6ZWQgZHVwbGljYXRpb24gcHJvaGliaXRlZC4A
  822.       etc...
  823.  
  824.    --boundary-example-1--
  825.  
  826.  
  827. 9.4   Example with relative URIs and no BASE available
  828.  
  829.    From: foo1@bar.net
  830.    To: foo2@bar.net
  831.    Subject: A simple example
  832.    Mime-Version: 1.0
  833.    Content-Type: "multipart/related"; boundary="boundary-example-1";
  834.                  type="text/html"
  835.  
  836.    --boundary-example-1
  837.       Content-Type: text/html; charset=ISO-8859-1
  838.       Content-Transfer-Encoding: QUOTED-PRINTABLE
  839.  
  840.       ... text of the HTML document, which might contain a hyperlink
  841.       to the other body part, for example through a statement such as:
  842.       <IMG SRC="ietflogo.gif" ALT="IETF logo">
  843.       Example of a copyright sign encoded with Quoted-Printable: =A9
  844.       Example of a copyright sign mapped onto HTML markup: ¨
  845.  
  846.    --boundary-example-1
  847.       Content-Location: ietflogo.gif
  848.       Content-Type: "IMAGE/GIF"
  849.       Content-Transfer-Encoding: BASE64
  850.  
  851.       R0lGODlhGAGgAPEAAP/////ZRaCgoAAAACH+PUNvcHlyaWdodCAoQykgMTk5
  852.       NSBJRVRGLiBVbmF1dGhvcml6ZWQgZHVwbGljYXRpb24gcHJvaGliaXRlZC4A
  853.       etc...
  854.  
  855.    --boundary-example-1--
  856.  
  857.  
  858. 9.5   Example using a BASE on the Multipart
  859.  
  860.    From: foo1@bar.net
  861.    To: foo2@bar.net
  862.    Subject: A simple example
  863.    Mime-Version: 1.0
  864.    Content-Type: "multipart/related"; boundary="boundary-example-1";
  865.                  type="text/html"
  866.    Content-Base: http://www.ietf.cnri.reston.va.us/
  867.  
  868.    --boundary-example-1
  869.       Content-Type: text/html; charset=ISO-8859-1
  870.       Content-Transfer-Encoding: QUOTED-PRINTABLE
  871.  
  872.       ... text of the HTML document, which might contain a hyperlink
  873.       to the other body part, for example through a statement such as:
  874.       <IMG SRC="ietflogo.gif" ALT="IETF logo">
  875.       Example of a copyright sign encoded with Quoted-Printable: =A9
  876.       Example of a copyright sign mapped onto HTML markup: ¨
  877.  
  878.    --boundary-example-1
  879.       Content-Location: http://www.ietf.cnri.reston.va.us/ietflogo.gif
  880.       Content-Type: "IMAGE/GIF"
  881.       Content-Transfer-Encoding: BASE64
  882.  
  883.       R0lGODlhGAGgAPEAAP/////ZRaCgoAAAACH+PUNvcHlyaWdodCAoQykgMTk5
  884.       NSBJRVRGLiBVbmF1dGhvcml6ZWQgZHVwbGljYXRpb24gcHJvaGliaXRlZC4A
  885.       etc...
  886.  
  887.    --boundary-example-1--
  888.  
  889.  
  890. 9.6   Example using CID URL and Content-ID header to an embedded GIF
  891. picture
  892.  
  893.    From: foo1@bar.net
  894.    To: foo2@bar.net
  895.    Subject: A simple example
  896.    Mime-Version: 1.0
  897.    Content-Type: "multipart/related"; boundary="boundary-example-1";
  898.                  type="text/html"
  899.  
  900.    --boundary-example-1
  901.       Content-Type: text/html; charset=US-ASCII
  902.  
  903.       ... text of the HTML document, which might contain a hyperlink
  904.       to the other body part, for example through a statement such as:
  905.       <IMG SRC="cid:foo4*foo1@bar.net" ALT="IETF logo">
  906.  
  907.    --boundary-example-1
  908.       Content-Location: CID:something@else ; this header is disregarded
  909.       Content-ID: <foo4*foo1@bar.net>
  910.       Content-Type: "IMAGE/GIF"
  911.       Content-Transfer-Encoding: BASE64
  912.  
  913.       R0lGODlhGAGgAPEAAP/////ZRaCgoAAAACH+PUNvcHlyaWdodCAoQykgMTk5
  914.       NSBJRVRGLiBVbmF1dGhvcml6ZWQgZHVwbGljYXRpb24gcHJvaGliaXRlZC4A
  915.       etc...
  916.  
  917.    --boundary-example-1--
  918.  
  919.  
  920. 10.   Content-Disposition header
  921.  
  922. Note the specification in [REL] on the relations between
  923. Content-Disposition and multipart/related.
  924.  
  925.  
  926. 11.   Character encoding issues and end-of-line issues
  927.  
  928. For the encoding of characters in HTML documents and other text
  929. documents into a MIME-compatible octet stream, the following mechanisms
  930. are relevant:
  931.  
  932. -  HTML [HTML2], [HTML-I18N] as an application of SGML [SGML] allows
  933.    characters to be denoted by character entities as well as by numeric
  934.    character references (e.g. "Latin small letter a with acute accent"
  935.    may be represented by "á" or "á") in the HTML markup.
  936.  
  937. -  HTML documents, in common with other documents of the MIME
  938.    "Content-Type text", can be represented in MIME using one of several
  939.    character encodings. The MIME Content-Type "charset" parameter value
  940.    indicates the particular encoding used. For the exact meaning and
  941.    use of the "charset" parameter, please see [MIME2] chapter 4.
  942.  
  943.    Note that the "charset" parameter refers only to the MIME character
  944.    encoding. For example, the string "á" can be sent in MIME
  945.    with "charset=US-ASCII", while the raw character "Latin small letter
  946.    a with acute accent" cannot.
  947.  
  948. The above mechanisms are well defined and documented, and therefore not
  949. further explained here. In sending a message, all the above mentioned
  950. mechanisms MAY be used, and any mixture of them MAY occur when sending
  951. the document in MIME format. Receiving user agents (together with any
  952. Web browser they may use to display the document) MUST be capable of
  953. handling any combinations of these mechanisms.
  954.  
  955. Also note that:
  956.  
  957. -  Any documents including HTML documents that contain octet values
  958.    outside the 7-bit range need a content-transfer-encoding applied
  959.    before transmission over certain transport protocols [MIME1,
  960.    chapter 5].
  961.  
  962. -  The MIME standard [MIME2] requires that emailed documents of
  963.    "Content-Type: Text MUST be in canonical form before
  964.    Content-Transfer-Encoding, i.e. that line breaks are encoded as
  965.    CRLFs, not as bare CRs or bare LFs or something else. This is in
  966.    contrast to [HTTP] where section 3.6.1 allows other representations
  967.    of line breaks.
  968.  
  969. Note that this might cause problems with integrity checks based on
  970. checksums, which might not be preserved when moving a document from the
  971. HTTP to the MIME environment. If a document has to be converted in such
  972. a way that a checksum integrity check becomes invalid, then this
  973. integrity check header SHOULD be removed from the document.
  974.  
  975. Other sources of problems are Content-Encoding used in HTTP but not
  976. allowed in MIME, and charsets that are not able to represent line
  977. breaks as CRLF. A good overview of the differences between HTTP and
  978. MIME with regards to "Content-Type: Text" can be found in [HTTP],
  979. appendix C.
  980.  
  981. If the original document has line breaks in the canonical form (CRLF),
  982. then the document SHOULD remain unconverted so that integrity check
  983. sums are not invalidated.
  984.  
  985. A provider of HTML documents who wants his documents to be transferable
  986. via both HTTP and SMTP without invalidating checksum integrity checks,
  987. should always provide original documents in the canonical form with
  988. CRLF for line breaks.
  989.  
  990. Some transport mechanisms may specify a default "charset" parameter if
  991. none is supplied [HTTP, MIME1]. Because the default differs for
  992. different mechanisms, when HTML is transferred through mail, the
  993. charset parameter SHOULD be included, rather than relying on the
  994. default.
  995.  
  996.  
  997. 12.   Security Considerations
  998.  
  999. Some Security Considerations include the potential to send someone an
  1000. object, and claim that it is represented by a particular URI (by giving
  1001. it a Content-Location header). There can be no assurance that a WWW
  1002. request (like HTTP or FTP) for that same URI would normally result in
  1003. that same object. It might be unsuitable to cache the data in such a
  1004. way that the cached data can be used for retrieval of this URI from
  1005. other messages or message parts than those included in the same message
  1006. as the Content-Location header. Because of this problem, receiving User
  1007. Agents SHOULD not cache this data in the same way that data that was
  1008. retrieved through an HTTP or FTP request might be cached.
  1009.  
  1010. URIs, especially File URIs, may in their name contain company-internal
  1011. information, which may then inadvertently be revealed to recipients of
  1012. documents containing such URIs.
  1013.  
  1014. One way of implementing messages with linked body parts is to handle
  1015. the linked body parts in a combined mail and WWW proxy server. The mail
  1016. client is only given the start body part, which it passes to a web
  1017. browser. This web browser requests the linked parts from the proxy
  1018. server. If this method is used, and if the combined server is used by
  1019. more than one user, then methods must be employed to ensure that body
  1020. parts of a message to one person is not retrievable by another person.
  1021. Use of passwords (also known as tickets or magic cookies) is one way of
  1022. achieving this. Note that some caching WWW proxy servers may not
  1023. distinguish between cached objects from email and HTTP, which may be a
  1024. security risk.
  1025.  
  1026. In addition, by allowing people to mail aggregate objects, we are
  1027. opening the door to other potential security problems that until now
  1028. were only problems for WWW users. For example, some HTML documents now
  1029. either themselves contain executable content (JavaScript) or contain
  1030. links to executable content (The "INSERT" specification, Java). It
  1031. would be exceedingly dangerous for a receiving User Agent to execute
  1032. content received through a mail message without careful attention to
  1033. restrictions on the capabilities of that executable content.
  1034.  
  1035. Some WWW applications hide passwords and tickets (access tokens to
  1036. information which may not be available to anyone) and other sensitive
  1037. information in hidden fields in the web documents or in on-the-fly
  1038. constructed URIs. If a person gets such a document, and forwards it via
  1039. email, the person may inadvertently disclose sensitive information.
  1040.  
  1041.  
  1042. 13.   Differences as compared to the previous version of this proposed
  1043. standard in RFC 2110
  1044.  
  1045. The specification has been changed to show that the formats described
  1046. do not only apply to multipart MIME in email, but also to multipart
  1047. MIME transferred through other protocols such as HTTP or FTP.
  1048.  
  1049. In order to agree with [RELURL], Content-Base headers in multipart
  1050. Content-Headings can now be used to resolve relative URIs in their
  1051. component parts, but only if no base URI can be derived from the
  1052. component part itself. Base URIs in inner headings, both in Content-
  1053. Base and Content-Location headers, have precedence over base URIs in
  1054. outer multipart headings.
  1055.  
  1056. Specification has been added that a Content-Heading cannot contain more
  1057. than one Content-Location header.
  1058.  
  1059. A section 4.4.1 has been added, specifying how to handle the case of
  1060. sending a body part whose URI does not agree with the correct URI
  1061. syntax.
  1062.  
  1063. The handling of relative and absolute URIs for matching between body
  1064. parts have been merged into a single description, by specifying that
  1065. relative URIs which cannot be resolved otherwise should be handled as
  1066. if they had been given imaginary URL "this_message:/".
  1067.  
  1068.  
  1069. 14.   Copyright
  1070.  
  1071. Copyright (C) The Internet Society (date). All Rights Reserved.
  1072.  
  1073. This document and translations of it may be copied and furnished to
  1074. others, and derivative works that comment on or otherwise explain it or
  1075. assist in its implmentation may be prepared, copied, published and
  1076. distributed, in whole or in part, without restriction of any kind,
  1077. provided that the above copyright notice and this paragraph are
  1078. included on all such copies and derivative works. However, this
  1079. document itself may not be modified in any way, such as by removing the
  1080. copyright notice or references to the Internet Society or other
  1081. Internet organizations, except as needed for the purpose of developing
  1082. Internet standards in which case the procedures for copyrights defined
  1083. in the Internet Standards process must be followed, or as required to
  1084. translate it into languages other than English.
  1085.  
  1086. The limited permissions granted above are perpetual and will not be
  1087. revoked by the Internet Society or its successors or assigns.
  1088.  
  1089. This document and the information contained herein is provided on an
  1090. "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
  1091. TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT
  1092. NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL
  1093. NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
  1094. FITNESS FOR A PARTICULAR PURPOSE.
  1095.  
  1096.  
  1097. 15.   Acknowledgments
  1098.  
  1099. Harald T. Alvestrand, Richard Baker, Isaac Chan, Dave Crocker, Martin
  1100. J. Duerst, Lewis Geer, Roy Fielding, Ned Freed, Al Gilman, Paul
  1101. Hoffman, Andy Jacobs, Richard W. Jesmajian, Mark K. Joseph, Greg
  1102. Herlihy, Valdis Kletnieks, Daniel LaLiberte, Ed Levinson, Jay Levitt,
  1103. Albert Lunde, Larry Masinter, Keith Moore, Gavin Nicol, Martyn W. Peck,
  1104. Pete Resnick, Nick Shelness, Jon Smirl, Einar Stefferud, Jamie
  1105. Zawinski, Steve Zilles and several other people have helped us with
  1106. preparing this document. I alone take responsibility for any errors
  1107. which may still be in the document.
  1108.  
  1109.  
  1110. 16.   References
  1111.  
  1112. Ref.            Author, title
  1113. ---------       --------------------------------------------------------
  1114.  
  1115. [CONDISP]       R. Troost, S. Dorner: "Communicating Presentation
  1116.                 Information in Internet Messages: The
  1117.                 Content-Disposition Header", RFC 1806, June 1995.
  1118.  
  1119. [HOSTS]         R. Braden (editor): "Requirements for Internet Hosts --
  1120.                 Application and Support", STD-3, RFC 1123, October 1989.
  1121.  
  1122. [HTML-I18N]     F. Yergeau, G. Nicol, G. Adams, & M. Duerst:
  1123.                 "Internationalization  of the Hypertext Markup
  1124.                 Language". RFC 2070, January 1997.
  1125.  
  1126. [HTML2]         T. Berners-Lee, D. Connolly: "Hypertext Markup Language
  1127.                 - 2.0", RFC 1866, November 1995.
  1128.  
  1129. [HTTP]          T. Berners-Lee, R. Fielding, H. Frystyk: Hypertext
  1130.                 Transfer Protocol -- HTTP/1.0. RFC 1945, May 1996.
  1131.  
  1132. [MD5]           R. Rivest: "The MD5 Message-Digest Algorithm", RFC 1321,
  1133.                 April 1992.
  1134.  
  1135. [MIDCID]        E. Levinson: Message/External-Body Content-ID
  1136.                 Access"Message/External-Body Content-ID and Message-ID
  1137.                 Uniform Resource Locators", draft-ietf-mhtml-cid-v2-
  1138.                 00.txt, July 1997.
  1139. [MIME1]         N. Freed, N. Borenstein, "Multipurpose Internet Mail
  1140.                 Extensions (MIME) Part One: Format of Internet Message
  1141.                 Bodies", RFC 2045, December 1996.
  1142.                 .
  1143. [MIME-IMB]      N. Freed & N. Borenstein
  1144.                 :: "Multipurpose Internet Mail Extensions (MIME) Part
  1145.                 One: Format of Internet Message Bedies". RFC 2045,
  1146.                 November 1996.
  1147.  
  1148. [MIME2]         N. Freed, N. Borenstein, "Multipurpose Internet Mail
  1149.                 Extensions (MIME) Part Two:  Media Types", RFC 2046,
  1150.                 December 1996.
  1151.  
  1152. [MIME3]         K. Moore, "MIME (Multipurpose Internet Mail Extensions)
  1153.                 Part Three:  Message Header Extensions for Non-ASCII
  1154.                 Text", RFC 2047, December 1996.
  1155.  
  1156. [MIME1]         N. Borenstein & N. Freed: "MIME (Multipurpose Internet
  1157.                 Mail Extensions) Part One: Mechanisms for Specifying and
  1158.                 ing and Describing the Format of Internet Message
  1159.                 Bodies", RFC 1521, Sept 1993.
  1160.  
  1161. [MIME4]          N. Freed, J. Klensin, J. Postel, "Multipurpose Internet
  1162.                 Mail Extensions (MIME) Part Four:  Registration
  1163.                 Procedures", RFC 2048, January 1997.
  1164.  
  1165. [MIME5]         "Multipurpose Internet Mail Extensions (MIME) Part Five:
  1166.                 Conformance Criteria and Examples", RFC 2049, December
  1167.                 1996.
  1168.  
  1169. [NEWS]          M.R. Horton, R. Adams: "Standard for interchange of
  1170.                 USENET messages", RFC 1036, December 1987.
  1171.  
  1172. [PDF]           Tim Bienz and Richar Cohn: "Portable Document Format
  1173.                 Reference Manual", Addison-Wesley, Reading, MA, USA,
  1174.                 1993, ISBN 0-201-62628-4.
  1175.  
  1176. [REL]           Edward Levinson: "The MIME
  1177.                 Multipart/Related"multipart/related" Content-Type",
  1178.                 draft-ietf-mhtml-re-v2-00.txt, September 1997.
  1179. [RELURL]        R. Fielding: "Relative Uniform Resource Locators", RFC
  1180.                 1808, June 1995.
  1181.  
  1182. [RFC822]        D. Crocker: "Standard for the format of ARPA Internet
  1183.                 text messages." STD 11, RFC 822, August 1982.
  1184.  
  1185. [SGML]          ISO 8879. Information Processing -- Text and Office  -
  1186.                 Standard Generalized Markup Language (SGML),
  1187.                 1986. <URL:http://www.iso.ch/cate/d16387.html>
  1188.  
  1189. [SMTP]          J. Postel: "Simple Mail Transfer Protocol", STD 10, RFC
  1190.                 821, August 1982.
  1191.  
  1192. [URL]           T. Berners-Lee, L. Masinter, M. McCahill: "Uniform
  1193.                 Resource Locators (URL)", RFC 1738, December 1994.
  1194.  
  1195. [URLBODY]       N. Freed and Keith Moore: "Definition of the URL MIME
  1196.                 External-Body Access-Type", RFC 2017, October 1996.
  1197.  
  1198. [VRML]          Gavin Bell, Anthony Parisi, Mark Pesce: "Virtual Reality
  1199.                 Modeling Language (VRML) Version 1.0 Language
  1200.                 Specification." May 1995,
  1201.                 http://www.vrml.org/Specifications/.
  1202.  
  1203. [IETF-TERMS]    S. Bradner: Key words for use in RFCs to Indicate
  1204.                 Requirements Levels. RFC 2119, March 1997.
  1205.  
  1206.  
  1207.  
  1208. 17.   Author's Addresses
  1209.  
  1210. For contacting the editors, preferably write to Jacob Palme rather than
  1211. Alex Hopmann.
  1212.  
  1213. Jacob Palme                          Phone: +46-8-16 16 67
  1214. Stockholm University and KTH         Fax: +46-8-783 08 29
  1215. Electrum 230                         Email: jpalme@dsv.su.se
  1216. S-164 40 Kista, Sweden
  1217.  
  1218. Alex Hopmann                         Email: alexhop@microsoft.com
  1219. Microsoft Corporation
  1220. 3590 North First Street
  1221. Suite 300
  1222. San Jose
  1223. CA 95134
  1224.  
  1225. Working group chairman:
  1226.  
  1227. Einar Stefferud <stef@nma.com>
  1228. I.
  1229.