1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573
|
<pre>Network Working Group G. Klyne
Request for Comments: 3297 Clearswift Corporation
Category: Standards Track R. Iwazaki
Toshiba TEC
D. Crocker
Brandenburg InternetWorking
July 2002
<span class="h1">Content Negotiation for Messaging Services based on Email</span>
Status of this Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2002). All Rights Reserved.
Abstract
This memo describes a content negotiation mechanism for facsimile,
voice and other messaging services that use Internet email.
Services such as facsimile and voice messaging need to cope with new
message content formats, yet need to ensure that the content of any
given message is renderable by the receiving agent. The mechanism
described here aims to meet these needs in a fashion that is fully
compatible with the current behaviour and expectations of Internet
email.
Table of Contents
<a href="#section-1">1</a>. Introduction................................................... <a href="#page-3">3</a>
<a href="#section-1.1">1.1</a> Structure of this document ................................. <a href="#page-4">4</a>
<a href="#section-1.2">1.2</a> Document terminology and conventions ....................... <a href="#page-4">4</a>
<a href="#section-1.2.1">1.2.1</a> Terminology............................................ <a href="#page-4">4</a>
<a href="#section-1.2.2">1.2.2</a> Design goals........................................... <a href="#page-5">5</a>
<a href="#section-1.2.3">1.2.3</a> Other document conventions............................. <a href="#page-5">5</a>
<a href="#section-2">2</a>. Background and goals........................................... <a href="#page-5">5</a>
<a href="#section-2.1">2.1</a> Background ................................................. <a href="#page-5">5</a>
<a href="#section-2.1.1">2.1.1</a> Fax and email.......................................... <a href="#page-5">5</a>
<a href="#section-2.1.2">2.1.2</a> Current facilities in Internet Fax..................... <a href="#page-6">6</a>
<a href="#section-2.2">2.2</a> Closing the loop ........................................... <a href="#page-6">6</a>
<span class="grey">Klyne, et. al. Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
<a href="#section-2.3">2.3</a> Goals for content negotiation .............................. <a href="#page-8">8</a>
<a href="#section-3">3</a>. Framework for content negotiation..............................<a href="#page-10">10</a>
<a href="#section-3.1">3.1</a> Send data with an indication of alternatives ...............<a href="#page-11">11</a>
<a href="#section-3.1.1">3.1.1</a> Choice of default data format..........................<a href="#page-12">12</a>
<a href="#section-3.1.2">3.1.2</a> MDN request indicating alternate data formats..........<a href="#page-12">12</a>
<a href="#section-3.1.3">3.1.3</a> Information about alternative data formats.............<a href="#page-13">13</a>
<a href="#section-3.2">3.2</a> Receiver options ...........................................<a href="#page-14">14</a>
<a href="#section-3.2.1">3.2.1</a> Alternatives not recognized............................<a href="#page-14">14</a>
<a href="#section-3.2.2">3.2.2</a> Alternative not desired................................<a href="#page-14">14</a>
<a href="#section-3.2.3">3.2.3</a> Alternative preferred..................................<a href="#page-14">14</a>
<a href="#section-3.3">3.3</a> Send alternative message data ..............................<a href="#page-16">16</a>
<a href="#section-3.4">3.4</a> Confirm receipt of resent message data .....................<a href="#page-17">17</a>
<a href="#section-4">4</a>. The Content-alternative header.................................<a href="#page-18">18</a>
<a href="#section-5">5</a>. The Original-Message-ID message header.........................<a href="#page-18">18</a>
<a href="#section-6">6</a>. MDN extension for alternative data.............................<a href="#page-19">19</a>
<a href="#section-6.1">6.1</a> Indicating readiness to send alternative data ..............<a href="#page-19">19</a>
<a href="#section-6.2">6.2</a> Indicating a preference for alternative data ...............<a href="#page-20">20</a>
<a href="#section-6.3">6.3</a> Indicating alternative data is no longer available .........<a href="#page-21">21</a>
<a href="#section-6.4">6.4</a> Indicating loss of original data ...........................<a href="#page-22">22</a>
<a href="#section-6.5">6.5</a> Automatic sending of MDN responses .........................<a href="#page-22">22</a>
<a href="#section-7">7</a>. Internet Fax Considerations....................................<a href="#page-22">22</a>
<a href="#section-8">8</a>. Examples.......................................................<a href="#page-23">23</a>
<a href="#section-8.1">8.1</a> Sending enhanced Internet Fax image ........................<a href="#page-23">23</a>
<a href="#section-8.2">8.2</a> Internet fax with initial data usable ......................<a href="#page-27">27</a>
<a href="#section-8.3">8.3</a> Negotiate to lower receiver capability .....................<a href="#page-28">28</a>
<a href="#section-8.4">8.4</a> Sending an alternative content type ........................<a href="#page-32">32</a>
<a href="#section-9">9</a>. IANA Considerations............................................<a href="#page-36">36</a>
<a href="#section-9.1">9.1</a> New message headers ........................................<a href="#page-36">36</a>
<a href="#section-9.2">9.2</a> MDN extensions .............................................<a href="#page-36">36</a>
<a href="#section-9.2.1">9.2.1</a> Notification option 'Alternative-available'............<a href="#page-36">36</a>
<a href="#section-9.2.2">9.2.2</a> Notification option 'Alternative-not-available'........<a href="#page-36">36</a>
<a href="#section-9.2.3">9.2.3</a> Disposition modifier 'Alternative-preferred'...........<a href="#page-37">37</a>
<a href="#section-9.2.4">9.2.4</a> Disposition modifier 'Original-lost'...................<a href="#page-37">37</a>
<a href="#section-10">10</a>. Internationalization considerations...........................<a href="#page-37">37</a>
<a href="#section-11">11</a>. Security Considerations.......................................<a href="#page-37">37</a>
<a href="#section-12">12</a>. Acknowledgements..............................................<a href="#page-38">38</a>
<a href="#section-13">13</a>. References....................................................<a href="#page-38">38</a>
<a href="#appendix-A">Appendix A</a>: Implementation issues.................................<a href="#page-40">40</a>
<a href="#appendix-A.1">A.1</a> Receiver state .............................................<a href="#page-40">40</a>
<a href="#appendix-A.2">A.2</a> Receiver buffering of message data .........................<a href="#page-41">41</a>
<a href="#appendix-A.3">A.3</a> Sender state ...............................................<a href="#page-42">42</a>
<a href="#appendix-A.4">A.4</a> Timeout of offer of alternatives ...........................<a href="#page-42">42</a>
<a href="#appendix-A.5">A.5</a> Timeout of receiver capabilities ...........................<a href="#page-42">42</a>
<a href="#appendix-A.6">A.6</a> Relationship to timely delivery ............................<a href="#page-43">43</a>
<a href="#appendix-A.7">A.7</a> Ephemeral capabilities .....................................<a href="#page-43">43</a>
<a href="#appendix-A.8">A.8</a> Situations where MDNs must not be auto-generated ...........<a href="#page-44">44</a>
<a href="#appendix-B">Appendix B</a>: Candidates for further enhancements...................<a href="#page-44">44</a>
Authors' Addresses................................................<a href="#page-45">45</a>
<span class="grey">Klyne, et. al. Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
Full Copyright Statement..........................................<a href="#page-46">46</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This memo describes a mechanism for email based content negotiation
which provides an Internet fax facility comparable to that of
traditional facsimile, which may be used by other messaging services
that need similar facilities.
"Extended Facsimile using Internet Mail" [<a href="#ref-1" title=""Extended Facsimile using Internet Mail"">1</a>] specifies the transfer
of image data using Internet email protocols. "Indicating Supported
Media Features Using Extensions to DSN and MDN" [<a href="#ref-2" title=""Indicating Supported Media Features Using Extensions to DSN and MDN"">2</a>] describes a
mechanism for providing the sender with the details of a receiver's
capabilities. The capability information thus provided, if stored by
the sender, can be used in subsequent transfers between the same
sender and receiver.
Many communications are one-off or infrequent transfers between a
given sender and receiver, and cannot benefit from this "do better
next time" approach.
An alternative facility available in email (though not widely
implemented) is for the sender to use 'multipart/alternative' [<a href="#ref-15" title=""Multipurpose Internet Mail Extensions (MIME) Part 2: Media types"">15</a>] to
send a message in several different formats, and allow the receiver
to choose. Apart from the obvious drawback of network bandwidth use,
this approach does not of itself allow the sender to truly tailor its
message to a given receiver, or to obtain confirmation that any of
the alternatives sent was usable by the receiver.
This memo describes a mechanism that allows better-than-baseline data
formats to be sent in the first communication between a sender and
receiver. The same mechanism can also achieve a usable message
transfer when the sender has based the initial transmission on
incorrect information about the receiver's capabilities. It allows
the sender of a message to indicate availability of alternative
formats, and the receiver to indicate that an alternative format
should be provided to replace the message data originally
transmitted.
When the sender does not have the correct information about a
receiver's capabilities, the mechanism described here may incur an
additional message round trip. An important goal of this mechanism
is to allow enough information to be provided to determine whether or
not the extra round trip is required.
<span class="grey">Klyne, et. al. Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a> Structure of this document</span>
The main part of this memo addresses the following areas:
<a href="#section-2">Section 2</a> describes some of the background, and sets out some
specific goals that are addressed in this specification.
<a href="#section-3">Section 3</a> describes the proposed content negotiation framework,
indicating the flow of information between a sender and receiver.
<a href="#section-4">Section 4</a> contains a detailed description of the 'Content-
alternative' header that is used to convey information about
alternative available formats. This description is intended to stand
independently of the rest of this specification, with a view to being
usable in conjunction with other content negotiation protocols.
<a href="#section-5">Section 5</a> describes a new mail message header, 'Original-Message-ID',
which is used to correlate alternative data sent during negotiation
with the original message data, and to distinguish the continuation
of an old message transaction from the start of a new transaction.
<a href="#section-6">Section 6</a> describes extensions to the Message Disposition
Notification (MDN) framework [<a href="#ref-4" title=""An Extensible Message Format for Message Disposition Notifications"">4</a>] that support negotiation between the
communicating parties.
<span class="h3"><a class="selflink" id="section-1.2" href="#section-1.2">1.2</a> Document terminology and conventions</span>
<span class="h4"><a class="selflink" id="section-1.2.1" href="#section-1.2.1">1.2.1</a> Terminology</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in <a href="./rfc2119">RFC 2119</a> [<a href="#ref-22" title=""Key words for use in RFCs to Indicate Requirement Levels"">22</a>].
Capability exchange
An exchange of information between communicating parties
indicating the kinds of information they can generate or consume.
Capability identification
Provision of information by the a receiving agent that indicates
the kinds of message data that it can accept for presentation to a
user.
Content negotiation
An exchange of information (negotiation metadata) which leads to
selection of the appropriate representation (variant) when
transferring a data resource.
<span class="grey">Klyne, et. al. Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
Message transaction
A sequence of exchanges between a message sender and receiver that
accomplish the transfer of message data.
<a href="./rfc2703">RFC 2703</a> [<a href="#ref-17" title=""Protocol-independent Content Negotiation Framework"">17</a>] introduces several other terms related to content
negotiation.
<span class="h4"><a class="selflink" id="section-1.2.2" href="#section-1.2.2">1.2.2</a> Design goals</span>
In discussing the goals for content negotiation, {1}, {2}, {3}
notation is used, per <a href="./rfc2542">RFC 2542</a>, "Terminology and Goals for Internet
Fax" [<a href="#ref-3" title=""Terminology and Goals for Internet Fax"">3</a>]. The meanings associated with these notations are:
{1} there is general agreement that this is a critical
characteristic of any definition of content negotiation for
Internet Fax.
{2} most believe that this is an important characteristic of
content negotiation for Internet Fax.
{3} there is general belief that this is a useful feature of
content negotiation for Internet Fax, but that other factors
might override; a definition that does not provide this
element is acceptable.
<span class="h4"><a class="selflink" id="section-1.2.3" href="#section-1.2.3">1.2.3</a> Other document conventions</span>
NOTE: Comments like this provide additional nonessential information
about the rationale behind this document. Such information is not
needed for building a conformant implementation, but may help those
who wish to understand the design in greater depth.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Background and goals</span>
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a> Background</span>
<span class="h4"><a class="selflink" id="section-2.1.1" href="#section-2.1.1">2.1.1</a> Fax and email</span>
One of the goals of the work to define a facsimile service using
Internet mail has been to deliver benefits of the traditional Group 3
Fax service in an email environment. Traditional Group 3 Fax leans
heavily on the idea that an online exchange of information discloses
a receiver's capabilities to the sender before any message data is
transmitted.
<span class="grey">Klyne, et. al. Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
By contrast, Internet mail has been developed to operate in a
different fashion, without any expectation that the sender and
receiver will exchange information prior to message transfer. One
consequence of this is that all mail messages must contain some kind
of meaningful message data: messages that are sent simply to elicit
information from a receiving message handling agent are not generally
acceptable in the Internet mail environment.
To guarantee some level of interoperability, Group 3 Fax and Internet
mail rely on all receivers being able to deal with some baseline
format (i.e., a basic image format or plain ASCII text,
respectively). The role of capability exchange or content
negotiation is to permit better-than baseline capabilities to be
employed where available.
One of the challenges addressed by this specification is how to adapt
the email environment to provide a fax-like service. A sender must
not make any a priori assumption that the receiver can recognize
anything other than a simple email message. There are some important
uses of email that are fundamentally incompatible with the fax model
of message passing and content negotiation (notably mailing lists).
So we need to have a way of recognizing when content negotiation is
possible, without breaking the existing email model.
<span class="h4"><a class="selflink" id="section-2.1.2" href="#section-2.1.2">2.1.2</a> Current facilities in Internet Fax</span>
"Extended Facsimile using Internet Mail" [<a href="#ref-1" title=""Extended Facsimile using Internet Mail"">1</a>] provides for a limited
provision of receiver capability information to the sender of a
message, using an extension to Message Disposition Notifications
[<a href="#ref-2" title=""Indicating Supported Media Features Using Extensions to DSN and MDN"">2</a>,<a href="#ref-4" title=""An Extensible Message Format for Message Disposition Notifications"">4</a>], employing media feature tags [<a href="#ref-5" title=""Media Feature Tag Registration Procedure"">5</a>] and media feature expressions
[<a href="#ref-6" title=""A syntax for describing media feature sets"">6</a>].
This mechanism provides for receiver capabilities to be disclosed
after a message has been received and processed. This information
can be used for subsequent transmissions to the same receiver. But
many communications are one-off messages from a given sender to a
given receiver, and cannot benefit from this.
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a> Closing the loop</span>
Classic Internet mail is an "open loop" process: no information is
returned back to the point from which the message is sent. This has
been unkindly --but accurately-- characterized as "send and pray",
since it lacks confirmation.
Sending a message and obtaining confirmation that the message has
been received is a "closed loop" process: the confirmation sent back
to the sender creates a loop around which information is passed.
<span class="grey">Klyne, et. al. Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
Many Internet email agents are not designed to participate in a
closed loop process, and thus have no responsibility to respond to
receipt of a message. Later additions to Internet standards, notably
Delivery Service Notification [<a href="#ref-18" title=""SMTP Service Extension for Delivery Status Notifications"">18</a>] and Message Disposition
Notification [<a href="#ref-4" title=""An Extensible Message Format for Message Disposition Notifications"">4</a>], specify means for certain confirmation responses to
be sent back to the sender, thereby closing the loop. However
conformance to these enhancements is optional and full deployment is
in the future.
DSN must be fully implemented by the entire infrastructure; further
when support is lacking, the message is still sent on in open-loop
fashion. Sometimes, transmission and delivery should instead be
aborted and the fact be reported to the sender.
Due to privacy considerations for end-users, MDN usage is entirely
voluntary.
Content negotiation is a closed loop function (for the purposes of
this proposal -- see <a href="#section-2.3">section 2.3</a>, item (f)), and requires that the
recipient of a message make some response to the sender. Since
content negotiation must retro-fit a closed-loop function over
Internet mail's voluntary and high-latency environment, a challenge
for content negotiation in email is to establish that consenting
parties can recognize a closed loop situation, and hence recognize
their responsibilities to close the loop.
Three different loops can be identified in a content negotiation:
Sender Receiver
| |
Initial message ------>------------ v
| |
(1) ------------<--- Request alternative data
| |
Send alternative ------>------------ (2)
| |
(3) ------------<------ Confirm receipt
of usable data
(1) Sender receives acknowledgement that negotiable content has
been received
(2) Receiver receives confirmation that its request for data has
been received.
(3) Sender receives confirmation that received data is processable,
or has been processed.
<span class="grey">Klyne, et. al. Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
Although the content negotiation process is initiated by the sender,
it is not established until loop (1) is closed with an indication
that the receiver desires alternative content.
If content sent with the original message from the sender is
processable by the receiver, and a confirmation is sent, then the
entire process is reduced to a simple send/confirm loop:
Sender Receiver
| |
Initial message ------>------------ v
| |
(3) ------------<------ Confirm receipt
of usable data
<span class="h3"><a class="selflink" id="section-2.3" href="#section-2.3">2.3</a> Goals for content negotiation</span>
The primary goal {1} is to provide a mechanism that allows arbitrary
enhanced content features to be used with Internet fax systems. The
mechanism should {2} support introduction of new features over time,
particularly those that are adopted for Group 3 fax.
Further goals are:
(a) Must {1} interwork with existing simple mode Internet fax
systems.
(b) Must {1} interwork with existing email clients.
The term "interwork" used above means that the mechanism must
be introduced in a way that may be ignored by existing systems,
and systems enhanced to use the negotiation mechanisms will
behave in a fashion that is expected by existing systems.
(I.e., existing clients are not expected in any way to
participate in or be aware of content negotiation.)
(c) Must {1} avoid transmission of "administrative non messages".
(I.e., only messages that contain meaningful content for the
end user may be sent unless it is known that the receiving
system will interpret them, and not attempt to display them.)
This requirement has been stated very strongly by the email
community.
This means that a sender must not assume that a receiver can
understand the capability exchange protocol elements, so must
always start by sending some meaningful message data.
<span class="grey">Klyne, et. al. Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
(d) Avoid {1} multiple renderings of a message. In situations
where multiple versions of a message are transferred, the
receiver must be able to reliably decide on a single version to
be displayed.
(e) Minimize {2} round trips needed to complete a transmission.
Ideally {3} every enhanced transmission will result in simply
sending data that the recipient can process, and receiving a
confirmation response.
(f) The solution adopted should not {3} transmit multiple versions
of the same data. In particular, it must not {1} rely on
routinely sending multiple instances of the same data in a
single message.
This does not prohibit sending multiple versions of the same
data, but it must not be a requirement to do so. A sender may
choose to send multiple versions together (e.g., plain text and
some other format), but the capability exchange mechanism
selected must not depend on such behaviour.
(g) The solution adopted should {2} be consistent with and
applicable to other Internet email based applications; e.g.,
regular email, voice messaging, unified messaging, etc.
(h) Allow for a graceful recovery from stale cache information. A
sender might use historic information to send non-baseline data
with an initial message. If this turns out to be unusable by
the recipient, it should still be possible {3} for the baseline
data, or some other acceptable format, to be selected and
transferred.
(i) The mechanism defined should {2} operate cleanly in conjunction
with the mechanisms already defined for extended mode Internet
fax (extended DSN and MDN [<a href="#ref-2" title=""Indicating Supported Media Features Using Extensions to DSN and MDN"">2</a>], etc.).
(j) As much as possible, existing email mechanisms should {3} be
used rather than inventing new ones. (It is clear that some
new mechanisms will be needed, but they should be defined
cautiously.)
(k) The mechanism should {2} be implementable in low memory
devices. That is, it should not depend on any party being able
to buffer arbitrary amounts of message data.
<span class="grey">Klyne, et. al. Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
(It may not be possible to completely satisfy this goal in a
sending system. But if the sender does not have enough memory
to buffer some given message, it can choose to not offer
content negotiation.)
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Framework for content negotiation</span>
This section starts with an outline of the negotiation process, and
provides greater detail about each stage in following sub-sections.
1. Sender sends initial message data with an indication of
alternative formats available (<a href="#section-3.1">section 3.1</a>). Initial data MAY be
a baseline or some other guess of what the recipient can handle.
2. The receiver has three main options:
(a) Does not recognize the optional alternative formats, and
passively accepts the data as sent (<a href="#section-3.2.1">section 3.2.1</a>).
(b) Does recognize the alternatives offered, and actively
accepts the data as sent (<a href="#section-3.2.2">section 3.2.2</a>).
(c) Recognizes the alternatives offered, and determines that it
prefers to receive an alternative format. An MDN response
is sent (i) indicating that the original data was not
processed, and (ii) containing receiver capability
information so that the sender may select a suitable
alternative (<a href="#section-3.2.3">section 3.2.3</a>).
Note that only recipients named in 'to:', 'cc:' or 'bcc:'
headers in the original message may request alternative data
formats in this way. Recipients not named in the original
message headers MUST NOT attempt to initiate content
negotiation.
NOTE: the prohibition on initiation of negotiation by
recipients other than those explicitly addressed is to avoid
the sender from having to deal with negotiation requests
from unexpected parties.
3. On receipt of an MDN response indicating preference for an
alternative data format, the sender MUST select and transmit
message data matched to the receiver's declared capabilities, or
send an indication that the receiver's request cannot be honoured.
When sending alternative data, the sender suppresses the
indication that alternative data is available, so the negotiation
process cannot loop.
<span class="grey">Klyne, et. al. Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
4. On receipt of final data from the sender, the receiver sends an
MDN response indicating acceptance (or otherwise) of the data
received.
NOTE: the receiver does not choose the particular data format
to be received; that choice rests with the sender. We find
that this approach is simpler than having the receiver choose
an alternative, because it builds upon existing mechanisms in
email, and follows the same pattern as a traditional Group 3
fax. Further, it deals with situations where the range of
alternatives may be difficult to describe.
This approach is similar to server driven negotiation in HTTP
using "Accept" headers [<a href="#ref-13" title=""Hypertext Transfer Protocol -- HTTP/1.1"">13</a>]. This is distinct to the agent-
driven style of negotiation provided for HTTP as part of
Transparent Content Negotiation [<a href="#ref-14" title=""Transparent Content Negotiation in HTTP"">14</a>], or which might be
constructed in email using "multipart/alternative" and
"message/external-body" MIME types [<a href="#ref-15" title=""Multipurpose Internet Mail Extensions (MIME) Part 2: Media types"">15</a>].
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a> Send data with an indication of alternatives</span>
A sender that is prepared to provide alternative message data formats
MUST send the following message elements:
(a) a default message data format,
(b) message identification, in the form of a Message-ID header.
(c) appropriate 'Content-features' header(s) [<a href="#ref-7" title=""Indicating media features for MIME content"">7</a>] describing the
default message data sent,
(d) a request for Message Disposition Notification [<a href="#ref-4" title=""An Extensible Message Format for Message Disposition Notifications"">4</a>],
(e) an indication that it is prepared to send different message
data, using an 'Alternative-available' MDN option field [<a href="#ref-9">9</a>],
and
(f) an indication of the alternative data formats available, in the
form of 'Content-alternative' header(s) [<a href="#ref-8">8</a>]. Note: more than
one Content-alternative' header MAY be specified; see <a href="#section-3.1.3">section</a>
<a href="#section-3.1.3">3.1.3</a> for more information.
Having indicated the availability of alternative data formats, the
sender is expected to hold the necessary information for some time,
allowing the receiver an opportunity to request such data. But,
unless it so indicates (see [<a href="#ref-9">9</a>]), the sender is not expected to hold
this information indefinitely; the exact length of time such
information should be held is not specified here. Thus, the
<span class="grey">Klyne, et. al. Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
possibility exists that a request for alternative information may
arrive too late, and the sender will then send an indication that the
data is no longer available. If message transference is being
completed within a predetermined time interval (e.g., using [<a href="#ref-21" title=""Timely Delivery for Facsimile Using Internet Mail"">21</a>]),
then the sender should normally maintain the data for at least that
period.
<span class="h4"><a class="selflink" id="section-3.1.1" href="#section-3.1.1">3.1.1</a> Choice of default data format</span>
The normal default format is text/plain. This is the format sent
unless the sender has prior knowledge or expectation of other content
formats supported by the recipient. Some uses of email presume some
other default format (e.g. Intenet fax [<a href="#ref-1" title=""Extended Facsimile using Internet Mail"">1</a>] has TIFF profile S [<a href="#ref-11" title=""File format for Internet fax"">11</a>] as
its default format; see <a href="#section-7">section 7</a> of this document).
"Extended Facsimile Using Internet Mail" [<a href="#ref-1" title=""Extended Facsimile using Internet Mail"">1</a>] and "Indicating
Supported Media Features Using Extensions to DSN and MDN" [<a href="#ref-2" title=""Indicating Supported Media Features Using Extensions to DSN and MDN"">2</a>]
indicate a possible mechanism for a sender to have prior knowledge of
receiver capabilities. This specification builds upon the mechanism
described there.
As always, the sender may gather information about the receiver in
other ways beyond the scope of this document (e.g., a directory
service or the suggested RESCAP protocol).
<span class="h4"><a class="selflink" id="section-3.1.2" href="#section-3.1.2">3.1.2</a> MDN request indicating alternate data formats</span>
When a sender is indicating preparedness to send alternative message
data, it MUST request a Message Disposition Notification (MDN) [<a href="#ref-4" title=""An Extensible Message Format for Message Disposition Notifications"">4</a>].
It indicates its readiness to send alternative message data by
including the MDN option 'Alternative-available' [<a href="#ref-9">9</a>] with the MDN
request. Presence of this MDN request option simply indicates that
the sender is prepared to send some different data format if it has
more accurate or up-to-date information about the receiver's
capabilities. Of itself, this option does not indicate whether the
alternatives are likely to be better or worse than the default data
sent -- that information is provided by the "Content-alternative"
header(s) [<a href="#ref-8">8</a>].
When using the 'Alternative-available' option in an MDN request, the
message MUST also contain a 'Message-ID:' header with a unique
message identifier.
<span class="grey">Klyne, et. al. Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
<span class="h4"><a class="selflink" id="section-3.1.3" href="#section-3.1.3">3.1.3</a> Information about alternative data formats</span>
A sender can provide information about the alternative message data
available by applying one or more 'Content-alternative' headers to
message body parts for which alternative data is available, each
indicating media features [<a href="#ref-5" title=""Media Feature Tag Registration Procedure"">5</a>,<a href="#ref-6" title=""A syntax for describing media feature sets"">6</a>] of an available alternative.
The purpose of this information is to allow a receiver to decide
whether any of the available alternatives are preferable, or likely
to be preferable, to the default message data provided.
Not every available alternative is required to be described in this
way, but the sender should include enough information to allow a
receiver to determine whether or not it can expect more useful
message data if it chooses to indicate a preference for some
alternative that matches its capabilities.
Alternative formats will often be variations of the content-type
originally sent. When different content-types can be provided, they
should be indicated in a corresponding content-alternative header
using the 'type' media feature tag [<a href="#ref-24" title=""MIME Content Types in Media Feature Expressions"">24</a>]. (See example 8.4.)
NOTE: the sender is not necessarily expected to describe every
single alternative format that is available -- indeed, in cases
where content is generated on-the-fly rather than simply selected
from an enumeration of possibilities, this may be infeasible. The
sender is expected to use one or more 'Content-alternative'
headers to reasonably indicate the range of alternative formats
available.
The final format actually sent will always be selected by the
sender, based on the receiver's capabilities. The 'Content-
alternative' headers are provided here simply to allow the
receiver to make a reasonable decision about whether to request an
alternative format that better matches its capabilities.
ALSO NOTE: this header is intended to be usable independently of
the MDN extension that indicates the sender is prepared to send
alternative formats. It could be used with a different protocol
having nothing to do with email or MDN. Thus, the 'Content-
alternative' header provides information about alternative data
formats without actually indicating if or how they might be
obtained.
Further, the 'Content-alternative' header applies to a MIME body
part, where the MDN 'Alternative-available' option applies to the
message as a whole.
<span class="grey">Klyne, et. al. Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
The example sections of this memo show how the 'Content-features:'
and 'Content-alternative:' MIME headers may be used to describe the
content provided and available alternatives.
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a> Receiver options</span>
A negotiation-aware system receiving message data without an
indication of alternative data formats MUST process that message in
the same way as a standard Internet fax system or email user agent.
Given an indication of alternative data format options, the receiver
has three primary options:
(a) do not recognize the alternatives: passively accept what is
provided,
(b) do not prefer the alternatives: actively accept what is
provided, or
(c) prefer some alternative format.
<span class="h4"><a class="selflink" id="section-3.2.1" href="#section-3.2.1">3.2.1</a> Alternatives not recognized</span>
This corresponds to the case that the receiver is a simple mode
Internet fax recipient [<a href="#ref-12" title=""A Simple Mode of Facsimile Using Internet Mail"">12</a>], or a traditional email user agent.
The receiver does not recognize the alternatives offered, or chooses
not to recognize them, and simply accepts the data as sent. A
standard MDN response [<a href="#ref-4" title=""An Extensible Message Format for Message Disposition Notifications"">4</a>] or an extended MDN response [<a href="#ref-2" title=""Indicating Supported Media Features Using Extensions to DSN and MDN"">2</a>] MAY be
generated at the receiver's option.
<span class="h4"><a class="selflink" id="section-3.2.2" href="#section-3.2.2">3.2.2</a> Alternative not desired</span>
The receiver does recognize the alternatives offered, but
specifically chooses to accept the data originally offered. An MDN
response SHOULD be sent indicating acceptance of the data and also
containing the receiver's capabilities.
This is the same as the defined behaviour of an Extended Internet Fax
receiver [<a href="#ref-1" title=""Extended Facsimile using Internet Mail"">1</a>,<a href="#ref-2" title=""Indicating Supported Media Features Using Extensions to DSN and MDN"">2</a>].
<span class="h4"><a class="selflink" id="section-3.2.3" href="#section-3.2.3">3.2.3</a> Alternative preferred</span>
This case extends the behaviour of Extended Internet Fax [<a href="#ref-1" title=""Extended Facsimile using Internet Mail"">1</a>,<a href="#ref-2" title=""Indicating Supported Media Features Using Extensions to DSN and MDN"">2</a>] to
allow an alternative form of data for the current message to be
transferred. This option may be followed ONLY if the original
message contains an 'Alternative-available' MDN option (alternative
<span class="grey">Klyne, et. al. Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
data re-sends may not use this option). Further, this option may be
followed ONLY if the recipient is explicitly addressed in the message
headers ('to:', 'cc:' or 'bcc:').
The receiver recognizes that alternative data is available, and based
on the information provided determines that an alternative format
would be preferable. An MDN response [<a href="#ref-4" title=""An Extensible Message Format for Message Disposition Notifications"">4</a>] is sent, which MUST contain
the following:
o an 'Alternative-preferred' disposition modifier [<a href="#ref-9">9</a>] indicating
that some data format other than that originally sent is
preferred,
o an 'Original-Message-ID:' field [<a href="#ref-4" title=""An Extensible Message Format for Message Disposition Notifications"">4</a>] with the message identifier
from the received message, and
o receiver capabilities, per <a href="./rfc2530">RFC 2530</a> [<a href="#ref-2" title=""Indicating Supported Media Features Using Extensions to DSN and MDN"">2</a>].
On sending such an MDN response, the receiver MAY discard the message
data provided, in the expectation that some alternative will be sent.
But if the sender has indicated a limited lifetime for the
alternative data, and the original data received is within the
receiver's capability to display, the receiver SHOULD NOT discard it.
Lacking sufficient memory to hold the original data for a period of
time within which alternative data would reasonably be received, the
receiver SHOULD accept and display the original data. In the case
that the original data is not within the receiver's capability to
display then it SHOULD discard the original data and request an
alternative format.
NOTE: the above rules are meant to ensure that the content
negotiation framework does not result in the loss of data that
would otherwise be received and displayed.
Having requested alternative data and not displayed the original
data, the receiver MUST remember this fact and be prepared to take
corrective action if alternative data is not received within a
reasonable time (e.g., if the MDN response or transmission of
alternative data is lost in transit).
Corrective action might be any of the following:
(a) re-send the MDN response, and continue waiting for an
alternative,
(b) present the data originally supplied (if it is still
available), or
<span class="grey">Klyne, et. al. Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
(c) generate an error response indicating loss of data.
On concluding that alternative data is not forthcoming, the preferred
option is (b), but this may not be possible for receivers with
limited memory.
See <a href="#appendix-A">Appendix A</a> for further discussion of receiver behaviour options.
NOTE: A cache control indicator on recipient capabilities has
been considered, but is not included in this specification.
(Sometimes, a recipient may want to offer certain capabilities
only under certain circumstances, and does not wish them to be
remembered for future use; e.g., not wanting to receive colour
images for routine communications.)
NOTE: the receiver does not actually get to select any specific
data format offered by the sender. The final choice of data
format is always made by the sender, based on the receiver's
declared capabilities. This approach:
(a) more closely matches the style of T.30 content negotiation,
(b) provides for clean integration with the current extended
mode Internet fax specification,
(c) builds upon existing email mechanisms in a consistent
fashion, and
(d) allows for cases (e.g., dynamically generated content) where
it is not feasible for the sender to enumerate the
alternatives available.
<span class="h3"><a class="selflink" id="section-3.3" href="#section-3.3">3.3</a> Send alternative message data</span>
Having offered to provide alternative data by including an
'Alternative-available' option with the original MDN request, and on
receipt of an MDN response indicating 'Alternative-preferred', the
sender SHOULD transmit alternative message data that best matches the
receiver's declared capabilities. (In the exceptional case that the
response requesting an alternative data format does not contain
receiver capabilities, a baseline format should be selected.)
If any part of the best available message data matching the receiver
capabilities is the same as that originally sent, it MUST still be
re-transmitted because the receiver may have discarded the original
data. Any data sent as a result of receiving an 'Alternative-
preferred' response should include an MDN request but SHOULD NOT
include an 'Alternative-available' disposition notification modifier.
<span class="grey">Klyne, et. al. Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
If the sender is no longer able to send message data for any reason,
it MUST send a message to the receiver indicating a failed transfer.
It SHOULD also generate a report for the receiver indicating the
failure, containing an MDN request and including an 'Alternative-
not-available' disposition notification modifier.
Any message sent to a receiver in response to a request for
alternative data MUST include an 'Original-Message-ID:' header [<a href="#ref-23">23</a>]
containing the Original-message-ID value from the received
disposition notification message (which is the 'Message-ID:' from the
original message). This header serves to correlate the re-send (or
failure message) with the original message, and also to distinguish a
re-send from an original message.
<span class="h3"><a class="selflink" id="section-3.4" href="#section-3.4">3.4</a> Confirm receipt of resent message data</span>
When resent data is received (indicated by presence of an 'original-
message-ID:' header field), the receiver processes that data and
generates an MDN response indicating the final disposition of the
data received, and also indicating capabilities that may be used for
future messages, per <a href="./rfc2530">RFC 2530</a> [<a href="#ref-2" title=""Indicating Supported Media Features Using Extensions to DSN and MDN"">2</a>] and <a href="./rfc2532">RFC 2532</a> [<a href="#ref-1" title=""Extended Facsimile using Internet Mail"">1</a>].
If the re-send indicates that alternative data is no longer available
(by including an 'Alternative-not-available' disposition notification
modifier), and the receiver still holds the original data sent, it
should display or process the original data and send an MDN response
indicating the final disposition of that data. Thus, the response to
an 'Alternative-not-available' indication may be a successful
disposition notification.
If the re-send indicates that alternative data is no longer available
(by including an 'Alternative-not-available' disposition notification
modifier), and the receiver has discarded the original data sent, it
SHOULD:
(a) display or process the failure message received, OR
(b) construct and display a message indicating that message data
has been lost, preferably indicating the sender, time, subject,
message identifier and other information that may help the
recipient user to identify the missing message.
and send a message disposition response indicating a final message
disposition of "deleted".
<span class="grey">Klyne, et. al. Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. The Content-alternative header</span>
The 'Content-alternative:' header is a MIME header that can be
attached to a MIME body part to indicate availability of some
alternative form of the data it contains. This header does not, of
itself, indicate how the alternative form of data may be accessed.
Using the ABNF notation of <a href="./rfc2234">RFC 2234</a> [<a href="#ref-10" title=""Augmented BNF for Syntax Specifications: ABNF"">10</a>], the syntax of a 'Content-
alternative' header is defined as:
Content-alternative-header =
"Content-alternative" ":" Alternative-feature-expression
Alternative-feature-expression =
<As defined for 'Filter' by <a href="./rfc2533">RFC 2533</a> [<a href="#ref-6" title=""A syntax for describing media feature sets"">6</a>]>
More than one 'Content-alternative:' header may be applied to a MIME
body part, in which case each one is taken to describe a separate
alternative data format that is available.
A content-alternative header is used with some MIME-encapsulated
data, and is interpreted in that context. The intent is to indicate
possible variations of that data, and it is not necessarily expected
to be a complete free-standing description of a specific available
data. Enough information should be provided for a receiver to be
able to decide whether or not the alternative thus described (a) is
likely to be an improvement over the actual data provided, and (b) is
likely to be processable by the receiver.
Thus, when interpreting a Content-alternative header value, a
receiver may assume that features not explicitly mentioned are not
different in the indicated alternative from the supplied data. For
example, if a Content-alternative header does not mention an
alternative MIME content-type, the receiver may assume that the
available alternative uses the same content-type as the supplied
data.
See also the example in <a href="#section-8.4">section 8.4</a>.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. The Original-Message-ID message header</span>
The 'Original-Message-ID' header is used to correlate any message
response or re-send with the original message to which it relates
(see also sections <a href="#section-3.2.3">3.2.3</a>, 3.3). A re-send is distinct from the
original message, so it MUST have its own unique Message-ID value
(per <a href="./rfc2822#section-3.6.4">RFC 2822, section 3.6.4</a>).
<span class="grey">Klyne, et. al. Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
The syntax for this header is:
"Original-Message-ID" ":" msg-id
where 'msg-id' is defined by <a href="./rfc2822">RFC 2822</a> as:
msg-id = "<" id-left "@" id-right ">"
The 'msg-id' value given must be identical to that supplied in the
Message-ID: header of the original message for which the current
message is a response or re-send.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. MDN extension for alternative data</span>
Here, we define two extensions to the Message Disposition
Notification (MDN) protocol [<a href="#ref-4" title=""An Extensible Message Format for Message Disposition Notifications"">4</a>] to allow a sender to indicate
readiness to send alternative message data formats, and to allow a
receiver to indicate a preference for some alternative format.
Indication of what alternatives may be available or preferred are not
covered here. This functionality is provided by the 'Content-
alternative' MIME header [<a href="#ref-8">8</a>] and "Indicating Supported Media Features
Using Extensions to DSN and MDN" [<a href="#ref-2" title=""Indicating Supported Media Features Using Extensions to DSN and MDN"">2</a>].
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a> Indicating readiness to send alternative data</span>
A sender wishing to indicate its readiness to send alternative
message data formats must request an MDN response using the MDN
'Disposition-Notification-To:' header [<a href="#ref-4" title=""An Extensible Message Format for Message Disposition Notifications"">4</a>].
The MDN request is accompanied by a 'Disposition-Notification-
Options:' header containing the parameter 'Alternative-available'
with an importance value of 'optional'. (The significance of
'optional' is that receiving agents unaware of this option do not
generate inappropriate failure responses.)
This specification defines a value for 'attribute' to be used in an
MDN 'Disposition-Notification-Options:' header [<a href="#ref-4" title=""An Extensible Message Format for Message Disposition Notifications"">4</a>]:
attribute =/ "Alternative-available"
Thus, a sender includes the following headers to indicate that
alternative message data is available:
Disposition-Notification-To:
<sender-address>
Disposition-Notification-Options:
Alternative-available=optional,<lifetime>
<span class="grey">Klyne, et. al. Standards Track [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
where <lifetime> is "transient" or "permanent", indicating whether
the alternative data will be made available for just a short while,
or for an indefinite period. A value of "permanent" indicates that
the data is held on long term storage and can be expected to be
available for at least several days, and probably weeks or months. A
value of "transient" indicates that the alternative data may be
discarded at any time, though it would normally be held for the
expected duration of a message transaction.
NOTE: the <lifetime> parameter is provided to help low-memory
receivers (which are unable to store received data) avoid loss of
information through requesting an alternative data format that may
become unavailable.
A message sent with a request for an MDN with an 'Alternative-
available' option MUST also contain a 'Message-ID:' header field
[<a href="#ref-20" title=""Internet Message Format"">20</a>].
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a> Indicating a preference for alternative data</span>
The MDN specification [<a href="#ref-4" title=""An Extensible Message Format for Message Disposition Notifications"">4</a>] defines a number of message disposition
options that may be reported by the receiver of a message:
disposition-type = "displayed"
/ "dispatched"
/ "processed"
/ "deleted"
/ "denied"
/ "failed"
disposition-modifier = ( "error" / "warning" )
/ ( "superseded" / "expired" /
"mailbox-terminated" )
/ disposition-modifier-extension
This specification defines an additional value for 'disposition-
modifier-extension':
disposition-modifier-extension =/
"Alternative-preferred"
When a receiver requests that an alternative format be sent, it sends
a message disposition notification message containing the following
disposition field:
Disposition:
<action-mode>/<sending-mode>,
deleted/alternative-preferred
<span class="grey">Klyne, et. al. Standards Track [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
For example, an automatically generated response might contain:
Disposition:
automatic-action/MDN-sent-automatically,
deleted/alternative-preferred
An MDN response containing an 'alternative-preferred' disposition
modifier MUST also contain an 'Original-message-ID:' field [<a href="#ref-4" title=""An Extensible Message Format for Message Disposition Notifications"">4</a>] with
the 'Message-ID:' value from the original message.
An MDN response containing an 'alternative-preferred' disposition
modifier SHOULD also contain a 'Media-accept-features:' field [<a href="#ref-2" title=""Indicating Supported Media Features Using Extensions to DSN and MDN"">2</a>]
indicating the capabilities that the sender should use in selecting
an alternative form of message data. If this field is not supplied,
the sender should assume some baseline feature capabilities.
Receiver capabilities supplied with an alternative-preferred
disposition notification MUST NOT be cached: they may apply to the
current transaction only.
<span class="h3"><a class="selflink" id="section-6.3" href="#section-6.3">6.3</a> Indicating alternative data is no longer available</span>
A sender that receives a request for alternative data that is no
longer available, or is unable to provide alternative data matching
the receiver's capabilities, MUST respond with an indication of this
fact, sending a message containing data describing the failure.
Such a message MUST specify the MDN 'Disposition-Notification-To:'
header [<a href="#ref-4" title=""An Extensible Message Format for Message Disposition Notifications"">4</a>], accompanied by a 'Disposition-Notification-Options:'
header containing the parameter 'Alternative-not-available' with an
importance value of 'required'.
This specification defines a value for 'attribute' to be used in an
MDN 'Disposition-Notification-Options:' header [<a href="#ref-4" title=""An Extensible Message Format for Message Disposition Notifications"">4</a>]:
attribute =/ "Alternative-not-available"
Thus, a sender includes the following headers to indicate that the
alternative message data previously offered is no longer available:
Disposition-Notification-To:
<sender-address>
Disposition-Notification-Options:
Alternative-not-available=required,(TRUE)
A message sent with a request for an MDN with an 'Alternative-not-
available' option MUST also contain an 'Original-message-ID:' header
[<a href="#ref-23">23</a>] containing the value from the 'Message-ID:' header of the
original message.
<span class="grey">Klyne, et. al. Standards Track [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
<span class="h3"><a class="selflink" id="section-6.4" href="#section-6.4">6.4</a> Indicating loss of original data</span>
This specification defines an additional value for 'disposition-
modifier-extension':
disposition-modifier-extension =/
"original-lost"
When a receiver loses message data because it lacks memory to store
the original while waiting for an alternative to be sent, it sends a
message disposition notification containing the following field:
Disposition:
<action-mode>/<sending-mode>,
deleted/original-lost
For example, an automatically generated response might contain:
Disposition:
automatic-action/MDN-sent-automatically,
deleted/original-lost
An MDN response containing an 'original-lost' disposition modifier
MUST also contain an 'Original-message-ID:' field [<a href="#ref-4" title=""An Extensible Message Format for Message Disposition Notifications"">4</a>] with the
'Message-ID:' value from the resent message, or from the original
message (if no re-send has been received).
<span class="h3"><a class="selflink" id="section-6.5" href="#section-6.5">6.5</a> Automatic sending of MDN responses</span>
In sending an MDN response that requests alternative data, the
security concerns stated in <a href="./rfc2298">RFC 2298</a> [<a href="#ref-4" title=""An Extensible Message Format for Message Disposition Notifications"">4</a>] (sections <a href="#section-2.1">2.1</a> and <a href="#section-6.2">6.2</a>)
regarding automatic MDN responses must be respected. In particular,
a system capable of performing content negotiation MUST have an
option for its user to disable negotiation responses, either
generally, on a per-message basis, or both.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Internet Fax Considerations</span>
Internet fax is an application that uses email to exchange document
images (see RFC <a href="./rfc2305">RFC 2305</a> [<a href="#ref-12" title=""A Simple Mode of Facsimile Using Internet Mail"">12</a>] and <a href="./rfc2532">RFC 2532</a> [<a href="#ref-1" title=""Extended Facsimile using Internet Mail"">1</a>]).
Both sender and receiver parts of this specification involve the use
of media feature expressions. In the context of Internet fax, any
such expressions SHOULD employ feature tags defined by "Content
feature schema for Internet fax" [<a href="#ref-16" title=""Content feature schema for Internet fax V2"">16</a>]. In a wider email context, any
valid media features MAY be used.
<span class="grey">Klyne, et. al. Standards Track [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
For Internet fax [<a href="#ref-12" title=""A Simple Mode of Facsimile Using Internet Mail"">12</a>], "image/tiff" is the assumed content-type for
message data. In particular, all Internet fax devices are presumed
to be capable of sending and receiving the TIFF profile S
capabilities (Section 3 of [<a href="#ref-11" title=""File format for Internet fax"">11</a>]). When communication is between
Internet fax devices, this capability may be assumed. But when
dealing with devices that go beyond these capabilities defined for
Internet fax (e.g. generic email agents with fax capabilities) it
would be better not to assume fax capabilities, and for the
negotiating parties to be explicit with respect to all their
capabilities.
It would be better if even Internet fax devices do not assume that
they are communicating with other such devices. When using Internet
email, there is no reliable way to establish this fact. Therefore,
for any Internet fax device that may reasonably be expected to
exchange messages with any other email agent, it is RECOMMENDED that
Internet fax capabilities (such as image/tiff baseline format
handling) are not assumed but stated explicitly.
In particular, the 'Media-Accept-Features:' header in receiver MDN
responses SHOULD explicitly indicate (type="image/tiff") and baseline
TIFF capabilities, rather than just assuming that they are
understood.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Examples</span>
<span class="h3"><a class="selflink" id="section-8.1" href="#section-8.1">8.1</a> Sending enhanced Internet Fax image</span>
An Internet fax sender has a profile-F (A4, 400x400dpi, MMR) image to
send to a receiver. The baseline for Internet fax is 200x200dpi and
MH image compression.
Sender's initial message:
Date: Wed,20 Sep 1995 00:18:00 (EDT)-0400
From: Jane Sender <Jane_Sender@example.com>
Message-Id: <199509200019.12345@example.com>
Subject: Internet FAX Full Mode Content Negotiation
To: Tom Recipient <Tom_Recipient@example.org>
Disposition-Notification-To: Jane_Sender@example.com
Disposition-Notification-Options:
Alternative-available=optional,permanent
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="RAA14128.773615765/ example.com"
<span class="grey">Klyne, et. al. Standards Track [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
--RAA14128.773615765/ example.com
Content-type: image/tiff
Content-Transfer-Encoding: base64
Content-features:
(& (color=Binary)
(image-file-structure=TIFF-minimal)
(dpi=200)
(dpi-xyratio=1)
(paper-size=A4)
(image-coding=MH)
(MRC-mode=0)
(ua-media=stationery) )
Content-alternative:
(& (color=Binary)
(image-file-structure=TIFF-limited)
(dpi=400)
(dpi-xyratio=1)
(paper-size=A4)
(image-coding=MMR)
(MRC-mode=0)
(ua-media=stationery) )
[TIFF-FX Profile-S message goes here]
--RAA14128.773615765/ example.com--
Receiver sends MDN response to initial message:
Date: Wed,20 Sep 1995 00:19:00 (EDT)-0400
From: Tom Recipient <Tom_Recipient@example.org>
Message-Id: <199509200020.12345@example.org>
Subject: Re: Internet FAX Full Mode Content Negotiation
To: Jane Sender <Jane_Sender@example.com>
MIME-Version: 1.0
Content-Type: multipart/report;
report-type=disposition-notification;
boundary="RAA14128.773615766/example.org"
--RAA14128.773615766/example.org
The message sent on 1995 Sep 20 at 00:18:00 (EDT) -0400 to
Tom Recipient <Tom_Recipient@example.org> with subject "Internet
FAX Full Mode Content Negotiation" has been received. An
alternative form of the message data is requested.
<span class="grey">Klyne, et. al. Standards Track [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
--RAA14128.773615766/example.org
Content-Type: message/disposition-notification
Reporting-UA: Toms-pc.cs.example.org; IFAX-FullMode
Original-Recipient: <a href="./rfc822">rfc822</a>;Tom-Recipient@example.org
Final-Recipient: <a href="./rfc822">rfc822</a>;Tom-Recipient@example.org
Original-Message-ID: <199509200019.12345@example.com>
Disposition: automatic-action/MDN-sent-automatically;
deleted/alternative-preferred
Media-Accept-Features:
(& (type="image/tiff")
(color=Binary)
(image-file-structure=TIFF)
(| (& (dpi=200) (dpi-xyratio=200/100) )
(& (dpi=200) (dpi-xyratio=1) )
(& (dpi=400) (dpi-xyratio=1) ) )
(| (image-coding=[MH,MR,MMR])
(& (image-coding=JBIG)
(image-coding-constraint=JBIG-T85)
(JBIG-stripe-size=128) ) )
(MRC-mode=0)
(paper-size=[A4,B4])
(ua-media=stationery) )
--RAA14128.773615766/example.org--
Sender's message with enhanced content:
Date: Wed,20 Sep 1995 00:21:00 (EDT)-0400
From: Jane Sender <Jane_Sender@example.com>
Message-Id: <199509200021.12345@example.com>
Original-Message-Id: <199509200019.12345@example.com>
Subject: Internet FAX Full Mode Image Transmission
To: Tom Recipient <Tom_Recipient@example.org>
Disposition-Notification-To: Jane_Sender@example.com
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="RAA14128.773615768/ example.com"
--RAA14128.773615768/ example.com
Content-type: image/tiff
Content-Transfer-Encoding: base64
[TIFF-FX profile-F message goes here]
--RAA14128.773615768/ example.com--
<span class="grey">Klyne, et. al. Standards Track [Page 25]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-26" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
Receiver sends MDN confirmation of enhanced message content:
Date: Wed,20 Sep 1995 00:22:00 (EDT)-0400
From: Tom Recipient <Tom_Recipient@example.org>
Message-Id: <199509200022.12345@example.org>
Subject: Re: Internet FAX Full Mode Image Transmission
To: Jane Sender <Jane_Sender@example.com>
MIME-Version: 1.0
Content-Type: multipart/report;
report-type=disposition-notification;
boundary="RAA14128.773615769/example.org"
--RAA14128.773615769/example.org
The message sent on 1995 Sep 20 at 00:21:00 (EDT) -0400 to Tom
Recipient <Tom_Recipient@example.org> with subject " Internet FAX
Full Mode Image Transmission" has been processed in Internet FAX
Full Mode.
--RAA14128.773615769/example.org
Content-Type: message/disposition-notification
Reporting-UA: Toms-pc.cs.example.org; IFAX-FullMode
Original-Recipient: <a href="./rfc822">rfc822</a>;Tom-Recipient@example.org
Final-Recipient: <a href="./rfc822">rfc822</a>;Tom-Recipient@example.org
Original-Message-ID: <199509200021.12345@example.com>
Disposition: automatic-action/MDN-sent-automatically; processed
Media-Accept-Features:
(& (type="image/tiff")
(color=Binary)
(image-file-structure=TIFF)
(| (& (dpi=200) (dpi-xyratio=200/100) )
(& (dpi=200) (dpi-xyratio=1) )
(& (dpi=400) (dpi-xyratio=1) ) )
(| (image-coding=[MH,MR,MMR])
(& (image-coding=JBIG)
(image-coding-constraint=JBIG-T85)
(JBIG-stripe-size=128) ) )
(MRC-mode=0)
(paper-size=[A4,B4])
(ua-media=stationery) )
--RAA14128.773615769/example.org--
<span class="grey">Klyne, et. al. Standards Track [Page 26]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-27" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
<span class="h3"><a class="selflink" id="section-8.2" href="#section-8.2">8.2</a> Internet fax with initial data usable</span>
This example shows how the second and subsequent transfers between
the systems in the previous example might be conducted. Using
knowledge gained from the previous exchange, the sender includes
profile-F data with its first contact.
Sender's initial message:
Date: Wed,20 Sep 1995 00:19:00 (EDT)-0400
From: Jane Sender <Jane_Sender@example.com>
Message-Id: <199509200019.12345@example.com>
Subject: Internet FAX Full Mode Content Negotiation
To: Tom Recipient <Tom_Recipient@example.org>
Disposition-Notification-To: Jane_Sender@example.com
Disposition-Notification-Options:
Alternative-available=optional,permanent
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="RAA14128.773615765/ example.com"
--RAA14128.773615765/ example.com
Content-type: image/tiff
Content-Transfer-Encoding: base64
Content-features:
(& (color=Binary)
(image-file-structure=TIFF-limited)
(dpi=400)
(dpi-xyratio=1)
(paper-size=A4)
(image-coding=MMR)
(MRC-mode=0)
(ua-media=stationery) )
Content-alternative:
(& (color=Binary)
(image-file-structure=TIFF-minimal)
(dpi=200)
(dpi-xyratio=1)
(paper-size=A4)
(image-coding=MH)
(MRC-mode=0)
(ua-media=stationery) )
[TIFF-FX Profile-F message goes here]
--RAA14128.773615765/ example.com--
<span class="grey">Klyne, et. al. Standards Track [Page 27]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-28" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
Receiver sends MDN confirmation of received message content:
Date: Wed,20 Sep 1995 00:22:00 (EDT)-0400
From: Tom Recipient <Tom_Recipient@example.org>
Message-Id: <199509200022.12345@example.org>
Subject: Re: Internet FAX Full Mode Image Transmission
To: Jane Sender <Jane_Sender@example.com>
MIME-Version: 1.0
Content-Type: multipart/report;
report-type=disposition-notification;
boundary="RAA14128.773615769/example.org"
--RAA14128.773615769/example.org
The message sent on 1995 Sep 20 at 00:19:00 (EDT) -0400 to Tom
Recipient <Tom_Recipient@example.org> with subject "Internet FAX
Full Mode Image Transmission" has been processed in Internet FAX
Full Mode.
--RAA14128.773615769/example.org
Content-Type: message/disposition-notification
Reporting-UA: Toms-pc.cs.example.org; IFAX-FullMode
Original-Recipient: <a href="./rfc822">rfc822</a>;Tom-Recipient@example.org
Final-Recipient: <a href="./rfc822">rfc822</a>;Tom-Recipient@example.org
Original-Message-ID: <199509200021.12345@example.com>
Disposition: automatic-action/MDN-sent-automatically; processed
Media-Accept-Features:
(& (type="image/tiff")
(color=Binary)
(image-file-structure=TIFF)
(| (& (dpi=200) (dpi-xyratio=200/100) )
(& (dpi=200) (dpi-xyratio=1) )
(& (dpi=400) (dpi-xyratio=1) ) )
(| (image-coding=[MH,MR,MMR])
(& (image-coding=JBIG)
(image-coding-constraint=JBIG-T85)
(JBIG-stripe-size=128) ) )
(MRC-mode=0)
(paper-size=[A4,B4])
(ua-media=stationery) )
--RAA14128.773615769/example.org--
<span class="grey">Klyne, et. al. Standards Track [Page 28]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-29" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
<span class="h3"><a class="selflink" id="section-8.3" href="#section-8.3">8.3</a> Negotiate to lower receiver capability</span>
In this example, the sender has incorrectly assumed that the receiver
has a higher capability, and must re-send lower capability data in
response to the receiver's response showing lesser capability.
An Internet fax sends a profile-F (A4, 400x400dpi, MMR) image. When
the receiver cannot handle this, it falls back to baseline profile-S.
As this is a baseline format, it is not necessary to declare that
capability with the original message. When a receiver is faced with
data it cannot process from a negotiating sender, it can do no better
than to respond with a description of its actual capabilities and let
the sender determine the outcome.
Sender's initial message:
Date: Wed, 20 Sep 1995 00:18:00 (EDT)-0400
From: Jane Sender <Jane_Sender@example.com>
Message-Id: <199509200019.12345@example.com>
Subject: Internet FAX Full Mode Negotiate Down
To: Tom Recipient <Tom_Recipient@example.org>
Disposition-Notification-To: Jane_Sender@example.com
Disposition-Notification-Options:
Alternative-available=optional,permanent
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="RAA14128.773615765/ example.com"
--RAA14128.773615765/ example.com
Content-type: image/tiff
Content-Transfer-Encoding: base64
Content-features:
(& (color=Binary)
(image-file-structure=TIFF-limited)
(dpi=400)
(dpi-xyratio=1)
(paper-size=A4)
(image-coding=MMR)
(MRC-mode=0)
(ua-media=stationery) )
[TIFF-FX Profile-F message goes here]
--RAA14128.773615765/ example.com--
<span class="grey">Klyne, et. al. Standards Track [Page 29]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-30" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
Receiver sends MDN response to initial message:
Date: Wed,20 Sep 1995 00:19:00 (EDT)-0400
From: Tom Recipient <Tom_Recipient@example.org>
Message-Id: <199509200020.12345@example.org>
Subject: Re: Internet FAX Full Mode Negotiate Down
To: Jane Sender <Jane_Sender@example.com>
MIME-Version: 1.0
Content-Type: multipart/report;
report-type=disposition-notification;
boundary="RAA14128.773615766/example.org"
--RAA14128.773615766/example.org
The message sent on 1995 Sep 20 at 00:18:00 (EDT) -0400 to
Tom Recipient <Tom_Recipient@example.org> with subject "Internet
FAX Full Mode Content Negotiation" has been received. An
alternative form of the message data is requested.
--RAA14128.773615766/example.org
Content-Type: message/disposition-notification
Reporting-UA: Toms-pc.cs.example.org; IFAX-FullMode
Original-Recipient: <a href="./rfc822">rfc822</a>;Tom-Recipient@example.org
Final-Recipient: <a href="./rfc822">rfc822</a>;Tom-Recipient@example.org
Original-Message-ID: <199509200019.12345@example.com>
Disposition: automatic-action/MDN-sent-automatically;
deleted/alternative-preferred
Media-Accept-Features:
(& (type="image/tiff")
(color=Binary)
(image-file-structure=TIFF-minimal)
(dpi=200)
(dpi-xyratio=1)
(paper-size=A4)
(image-coding=MH)
(MRC-mode=0)
(ua-media=stationery) )
--RAA14128.773615766/example.org--
<span class="grey">Klyne, et. al. Standards Track [Page 30]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-31" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
Sender's message with baseline content:
Date: Wed,20 Sep 1995 00:21:00 (EDT)-0400
From: Jane Sender <Jane_Sender@example.com>
Message-Id: <199509200021.12345@example.com>
Original-Message-Id: <199509200019.12345@example.com>
Subject: Internet FAX Full Mode Image Transmission
To: Tom Recipient <Tom_Recipient@example.org>
Disposition-Notification-To: Jane_Sender@example.com
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="RAA14128.773615768/ example.com"
--RAA14128.773615768/ example.com
Content-type: image/tiff
Content-Transfer-Encoding: base64
[TIFF-FX profile-S message goes here]
--RAA14128.773615768/ example.com--
Receiver sends MDN confirmation of impoverished message content:
Date: Wed,20 Sep 1995 00:22:00 (EDT)-0400
From: Tom Recipient <Tom_Recipient@example.org>
Message-Id: <199509200022.12345@example.org>
Subject: Re: Internet FAX Full Mode Image Transmission
To: Jane Sender <Jane_Sender@example.com>
MIME-Version: 1.0
Content-Type: multipart/report;
report-type=disposition-notification;
boundary="RAA14128.773615769/example.org"
--RAA14128.773615769/example.org
The message sent on 1995 Sep 20 at 00:21:00 (EDT) -0400 to Tom
Recipient <Tom_Recipient@example.org> with subject " Internet FAX
Full Mode Image Transmission" has been processed in Internet FAX
Full Mode.
--RAA14128.773615769/example.org
Content-Type: message/disposition-notification
<span class="grey">Klyne, et. al. Standards Track [Page 31]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-32" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
Reporting-UA: Toms-pc.cs.example.org; IFAX-FullMode
Original-Recipient: <a href="./rfc822">rfc822</a>;Tom-Recipient@example.org
Final-Recipient: <a href="./rfc822">rfc822</a>;Tom-Recipient@example.org
Original-Message-ID: <199509200021.12345@example.com>
Disposition: automatic-action/MDN-sent-automatically; processed
Media-Accept-Features:
(& (color=Binary)
(image-file-structure=TIFF-minimal)
(dpi=200)
(dpi-xyratio=1)
(paper-size=A4)
(image-coding=MH)
(MRC-mode=0)
(ua-media=stationery) )
--RAA14128.773615769/example.org--
<span class="h3"><a class="selflink" id="section-8.4" href="#section-8.4">8.4</a> Sending an alternative content type</span>
As noted in <a href="#section-4">section 4</a>, the sender can offer the data using a
different MIME content-type. This example shows a profile-F (A4,
400x400dpi, MMR) image and a limited-colour PDF document offered as
alternatives to a baseline image/TIFF.
Sender's initial message:
(Note that the MIME content type is not specified for the
image/tiff alternative, being the same as that provided, but
is mentioned for the application/pdf alternative.)
Date: Wed,20 Sep 1995 00:18:00 (EDT)-0400
From: Jane Sender <Jane_Sender@example.com>
Message-Id: <199509200019.12345@example.com>
Subject: Internet FAX Full Mode Content Negotiation
To: Tom Recipient <Tom_Recipient@example.org>
Disposition-Notification-To: Jane_Sender@example.com
Disposition-Notification-Options:
Alternative-available=optional,permanent
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="RAA14128.773615765/ example.com"
--RAA14128.773615765/ example.com
Content-type: image/tiff
Content-Transfer-Encoding: base64
Content-features:
(& (color=Binary)
(image-file-structure=TIFF-minimal)
<span class="grey">Klyne, et. al. Standards Track [Page 32]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-33" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
(dpi=200)
(dpi-xyratio=1)
(paper-size=A4)
(image-coding=MH)
(MRC-mode=0)
(ua-media=stationery) )
Content-alternative:
(& (color=Binary)
(image-file-structure=TIFF-limited)
(dpi=400)
(dpi-xyratio=1)
(paper-size=A4)
(image-coding=MMR)
(MRC-mode=0)
(ua-media=stationery) )
Content-alternative:
(& (type="application/pdf")
(color=Limited)
(dpi=400)
(paper-size=A4)
(ua-media=stationery) )
[TIFF-FX Profile-S message goes here]
--RAA14128.773615765/ example.com--
Receiver sends MDN response to initial message:
(Note that this response indicates an ability to handle the
PDF MIME content-types, but with only binary colour.)
Date: Wed,20 Sep 1995 00:19:00 (EDT)-0400
From: Tom Recipient <Tom_Recipient@example.org>
Message-Id: <199509200020.12345@example.org>
Subject: Re: Internet FAX Full Mode Content Negotiation
To: Jane Sender <Jane_Sender@example.com>
MIME-Version: 1.0
Content-Type: multipart/report;
report-type=disposition-notification;
boundary="RAA14128.773615766/example.org"
--RAA14128.773615766/example.org
The message sent on 1995 Sep 20 at 00:18:00 (EDT) -0400 to
Tom Recipient <Tom_Recipient@example.org> with subject "Internet
FAX Full Mode Content Negotiation" has been received. An
alternative form of the message data is requested.
<span class="grey">Klyne, et. al. Standards Track [Page 33]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-34" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
--RAA14128.773615766/example.org
Content-Type: message/disposition-notification
Reporting-UA: Toms-pc.cs.example.org; IFAX-FullMode
Original-Recipient: <a href="./rfc822">rfc822</a>;Tom-Recipient@example.org
Final-Recipient: <a href="./rfc822">rfc822</a>;Tom-Recipient@example.org
Original-Message-ID: <199509200019.12345@example.com>
Disposition: automatic-action/MDN-sent-automatically;
deleted/alternative-preferred
Media-Accept-Features:
(| (& (type="image/tiff")
(color=Binary)
(image-file-structure=TIFF-minimal)
(dpi=200)
(dpi-xyratio=1)
(image-coding=MH)
(MRC-mode=0)
(paper-size=A4)
(ua-media=stationery) )
(& (type="application/pdf")
(color=Binary)
(dpi-xyratio=1)
(dpi=[200,400])
(paper-size=[A4,B4])
(ua-media=stationery) ) )
--RAA14128.773615766/example.org--
Resend with alternative content-type:
Date: Wed,20 Sep 1995 00:21:00 (EDT)-0400
From: Jane Sender <Jane_Sender@example.com>
Message-Id: <199509200021.12345@example.com>
Original-Message-Id: <199509200019.12345@example.com>
Subject: Internet FAX Full Mode Image Transmission
To: Tom Recipient <Tom_Recipient@example.org>
Disposition-Notification-To: Jane_Sender@example.com
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="RAA14128.773615768/ example.com"
--RAA14128.773615768/ example.com
Content-type: application/pdf
Content-Transfer-Encoding: base64
[PDF data goes here]
--RAA14128.773615768/ example.com--
<span class="grey">Klyne, et. al. Standards Track [Page 34]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-35" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
Receiver sends MDN confirmation of enhanced message content:
(Also indicating the PDF capability for future messages.)
Date: Wed,20 Sep 1995 00:22:00 (EDT)-0400
From: Tom Recipient <Tom_Recipient@example.org>
Message-Id: <199509200022.12345@example.org>
Subject: Re: Internet FAX Full Mode Image Transmission
To: Jane Sender <Jane_Sender@example.com>
MIME-Version: 1.0
Content-Type: multipart/report;
report-type=disposition-notification;
boundary="RAA14128.773615769/example.org"
--RAA14128.773615769/example.org
The message sent on 1995 Sep 20 at 00:21:00 (EDT) -0400 to Tom
Recipient <Tom_Recipient@example.org> with subject " Internet FAX
Full Mode Image Transmission" has been processed in Internet FAX
Full Mode.
--RAA14128.773615769/example.org
Content-Type: message/disposition-notification
Reporting-UA: Toms-pc.cs.example.org; IFAX-FullMode
Original-Recipient: <a href="./rfc822">rfc822</a>;Tom-Recipient@example.org
Final-Recipient: <a href="./rfc822">rfc822</a>;Tom-Recipient@example.org
Original-Message-ID: <199509200021.12345@example.com>
Disposition: automatic-action/MDN-sent-automatically; processed
Media-Accept-Features:
(| (& (type="image/tiff")
(color=Binary)
(image-file-structure=TIFF-minimal)
(dpi=200)
(dpi-xyratio=1)
(image-coding=MH)
(MRC-mode=0)
(paper-size=A4)
(ua-media=stationery) )
(& (type="application/pdf")
(color=Binary)
(dpi-xyratio=1)
(dpi=[200,400])
(paper-size=[A4,B4])
(ua-media=stationery) ) )
--RAA14128.773615769/example.org--
<span class="grey">Klyne, et. al. Standards Track [Page 35]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-36" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. IANA Considerations</span>
<span class="h3"><a class="selflink" id="section-9.1" href="#section-9.1">9.1</a> New message headers</span>
This specification defines new email/MIME message headers:
Content-alternative
Original-Message-ID
As such, there being no registry of email headers, it is an update to
the specifications of <a href="./rfc2822">RFC 2822</a> and <a href="./rfc2045">RFC 2045</a>.
<span class="h3"><a class="selflink" id="section-9.2" href="#section-9.2">9.2</a> MDN extensions</span>
This specification defines extensions to the Message Disposition
Notification (MDN) protocol. The sections below are the registration
templates for these extensions, as required by <a href="./rfc2298">RFC 2298</a> [<a href="#ref-4" title=""An Extensible Message Format for Message Disposition Notifications"">4</a>], <a href="#section-10">section</a>
<a href="#section-10">10</a>.
<span class="h4"><a class="selflink" id="section-9.2.1" href="#section-9.2.1">9.2.1</a> Notification option 'Alternative-available'</span>
(a) Disposition-notification-option name:
Alternative-available
(b) Syntax:
(see this document, <a href="#section-6.1">section 6.1</a>)
(c) Character-encoding:
US-ASCII characters only are used
(d) Semantics:
(see this document, <a href="#section-6.1">section 6.1</a>)
<span class="h4"><a class="selflink" id="section-9.2.2" href="#section-9.2.2">9.2.2</a> Notification option 'Alternative-not-available'</span>
(a) Disposition-notification-option name:
Alternative-not-available
(b) Syntax:
(see this document, <a href="#section-6.1">section 6.1</a>)
(c) Character-encoding:
US-ASCII characters only are used
(d) Semantics
(see this document, <a href="#section-6.3">section 6.3</a>)
<span class="grey">Klyne, et. al. Standards Track [Page 36]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-37" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
<span class="h4"><a class="selflink" id="section-9.2.3" href="#section-9.2.3">9.2.3</a> Disposition modifier 'Alternative-preferred'</span>
(a) Disposition-modifier name:
Alternative-preferred
(b) Semantics:
(see this document, <a href="#section-6.2">section 6.2</a>)
<span class="h4"><a class="selflink" id="section-9.2.4" href="#section-9.2.4">9.2.4</a> Disposition modifier 'Original-lost'</span>
(a) Disposition-modifier name:
Original-lost
(b) Semantics:
(see this document, <a href="#section-6.4">section 6.4</a>)
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. Internationalization considerations</span>
This specification deals with protocol exchanges between mail user
agents, and as such does not deal primarily with human readable text.
But not all user agents may automatically handle the protocol
elements defined here, and may attempt to display text from the
protocol elements to the user.
The main candidate for this treatment is the text accompanying a
disposition notification response that requests alternative
information. In normal use, the protocol design ensures that the
recipient can process this response automatically; exceptionally, a
receiving agent may display it to a user.
<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a>. Security Considerations</span>
Security considerations of this specification can be divided into two
main areas:
o Privacy concerns with automated MDN response generation: see
<a href="#section-6.5">section 6.5</a> of this document, and the security considerations
section of <a href="./rfc2298">RFC 2298</a> [<a href="#ref-4" title=""An Extensible Message Format for Message Disposition Notifications"">4</a>].
o Risks of negotiation: see the security considerations section
transaction. If alternative data arrives subsequently, it may be
ignored or possibly also displayed or printed. A successful
completion MDN may be sent to the sender.
<span class="grey">Klyne, et. al. Standards Track [Page 37]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-38" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
<span class="h2"><a class="selflink" id="section-12" href="#section-12">12</a>. Acknowledgements</span>
The basic structure of the negotiation described here was first
documented in a draft by Mr. Toru Maeda of Canon.
Helpful comments on earlier drafts were provided by Mr Hiroshi
Tamura, Ted Hardie and Larry Masinter.
<span class="h2"><a class="selflink" id="section-13" href="#section-13">13</a>. References</span>
[<a id="ref-1">1</a>] Masinter, L. and D. Wing, "Extended Facsimile using Internet
Mail", <a href="./rfc2532">RFC 2532</a>, March 1999.
[<a id="ref-2">2</a>] Wing, D., "Indicating Supported Media Features Using Extensions
to DSN and MDN", <a href="./rfc2530">RFC 2530</a>, March 1999.
[<a id="ref-3">3</a>] Masinter, L., "Terminology and Goals for Internet Fax", <a href="./rfc2542">RFC</a>
<a href="./rfc2542">2542</a>, March 1999.
[<a id="ref-4">4</a>] Fajman, R., "An Extensible Message Format for Message
Disposition Notifications", <a href="./rfc2298">RFC 2298</a>, March 1998.
[<a id="ref-5">5</a>] Holtman, K., Mutz, A. and T. Hardie, "Media Feature Tag
Registration Procedure", <a href="./rfc2506">RFC 2506</a>, March 1999.
[<a id="ref-6">6</a>] Klyne, G., "A syntax for describing media feature sets", <a href="https://www.rfc-editor.org/bcp/bcp31">BCP</a>
<a href="https://www.rfc-editor.org/bcp/bcp31">31</a>, <a href="./rfc2533">RFC 2533</a>, March 1999.
[<a id="ref-7">7</a>] Klyne, G., "Indicating media features for MIME content", <a href="./rfc2938">RFC</a>
<a href="./rfc2938">2938</a>, September 2000.
[<a id="ref-8">8</a>] 'Content-alternative' header (this memo, <a href="#section-4">section 4</a>)
[<a id="ref-9">9</a>] MDN extension for alternative data (this memo, <a href="#section-6">section 6</a>)
[<a id="ref-10">10</a>] Crocker, D. and P. Overell, "Augmented BNF for Syntax
Specifications: ABNF", <a href="./rfc2234">RFC 2234</a>, November 1997.
[<a id="ref-11">11</a>] McIntyre, L., Buckley, R., Venable, D., Zilles, S., Parsons,
G. and J. Rafferty, "File format for Internet fax", <a href="./rfc2301">RFC 2301</a>,
March 1998.
[<a id="ref-12">12</a>] Toyoda K., Ohno H., Murai, J. and D. Wing, "A Simple Mode of
Facsimile Using Internet Mail", <a href="./rfc2305">RFC 2305</a>, March 1998.
[<a id="ref-13">13</a>] Fielding, R., Gettys, J., Mogul, J., Frystyk, H., Masinter, L.,
Leach, P. and T. Berners-Lee, "Hypertext Transfer Protocol --
HTTP/1.1", <a href="./rfc2616">RFC 2616</a>, June 1999.
<span class="grey">Klyne, et. al. Standards Track [Page 38]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-39" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
[<a id="ref-14">14</a>] Holtman, K. and A. Mutz, "Transparent Content Negotiation in
HTTP", <a href="./rfc2295">RFC 2295</a>, March 1998.
[<a id="ref-15">15</a>] Freed, N. and N. Borenstein, "Multipurpose Internet Mail
Extensions (MIME) Part 2: Media types", <a href="./rfc2046">RFC 2046</a>, November
1996.
[<a id="ref-16">16</a>] Klyne, G. and L. McIntyre, "Content feature schema for Internet
fax V2", <a href="./rfc2879">RFC 2879</a>, August 2000.
[<a id="ref-17">17</a>] Klyne, G., "Protocol-independent Content Negotiation
Framework", <a href="./rfc2703">RFC 2703</a>, September 1999.
[<a id="ref-18">18</a>] Moore, K., "SMTP Service Extension for Delivery Status
Notifications", <a href="./rfc1891">RFC 1891</a>, January 1996.
[<a id="ref-19">19</a>] Klensin, J., "Simple Mail Transfer Protocol", <a href="./rfc2821">RFC 2821</a>, April
2001.
[<a id="ref-20">20</a>] Resnick, P., "Internet Message Format", <a href="./rfc2822">RFC 2822</a>, April 2001.
[<a id="ref-21">21</a>] Klyne, G. and D. Crocker, "Timely Delivery for Facsimile Using
Internet Mail", Work in Progress.
[<a id="ref-22">22</a>] Bradner, S., "Key words for use in RFCs to Indicate Requirement
Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.
[<a id="ref-23">23</a>] 'Original-Message-ID' header for mail messages (this memo,
<a href="#section-5">section 5</a>)
[<a id="ref-24">24</a>] Klyne, G., "MIME Content Types in Media Feature Expressions",
<a href="./rfc2913">RFC 2913</a>, September 2000.
<span class="grey">Klyne, et. al. Standards Track [Page 39]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-40" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
Appendix A: Implementation issues
This section is not a normative part of this specification. Rather,
it discusses some of the issues that were considered during its
design in a way that we hope will be useful to implementers.
<span class="h3"><a class="selflink" id="appendix-A.1" href="#appendix-A.1">A.1</a> Receiver state</span>
Probably the biggest implication for implementers of this proposal
compared with standard mail user agents is the need to maintain some
kind of state information at the receiver while content is being
negotiated.
By "receiver state", we mean that a receiver needs to remember that
it has received an initial message AND that it has requested an
alternative form of data. Without this, when a receiver responds
with a request for an alternative data format there is a possibility
(if the response does not reach the sender) that the message will be
silently lost, despite its having been delivered to the receiving
MTA.
The matter of maintaining receiver state is particularly germane
because of the requirement to allow low-memory systems to participate
in the content negotiation. Unlike traditional T.30 facsimile, where
the negotiation takes place within the duration of a single
connection, an extended time may be taken to complete a negotiation
in email. State information must be maintained for all negotiations
outstanding at any time, and there is no theoretical upper bound on
how many there may be.
Keeping receiver state is probably not a problem for systems with
high capacity storage devices to hold message data and state
information. The remainder of this section discusses strategies that
small-system designers might employ to place an upper bound on memory
that must be reserved for this information. When a receiver is
really memory constrained then message loss remains a possibility,
but the mechanisms described here should ensure that it never happens
silently.
So what is this "receiver state"? It must contain, as a minimum:
o the fact that message data was received, and alternative data has
been requested,
o a unique message identifier, and
o the time at which an alternative format request was sent.
<span class="grey">Klyne, et. al. Standards Track [Page 40]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-41" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
This allows the receiver to re-issue a request, or to report an
error, if requested alternative data does not arrive in a reasonable
time.
Receiver state may also include:
o a copy of the data originally received. This allows the receiver
to display the original data if an alternative is not received.
o details of the data format supplied, and alternatives offered.
This permits improved diagnostics if alternative data is not
received.
If a receiver of a message with alternative content available does
not have enough memory to hold new negotiation state information, it
may fall back to non-negotiation behaviour, accept the data received
and send an MDN indicating disposition of that data (see sections
3.2.1, 3.2.2).
If a receiving system runs low on memory after entering into a
negotiation, a number of options may be possible:
o display or print buffered data, if available, and complete the
transaction. If alternative data arrives subsequently, it may be
ignored or possibly also displayed or printed. A successful
completion MDN may be sent to the sender.
o discard any buffered data, and continue waiting for alternative
data. If alternative data does not subsequently arrive, a message
transfer failure should be declared.
o abort the transfer and declare a message transfer failure: a
diagnostic message must be displayed to the local user, and a
failure notification sent to the sender.
<span class="h3"><a class="selflink" id="appendix-A.2" href="#appendix-A.2">A.2</a> Receiver buffering of message data</span>
If a receiver is capable of buffering received message data while
waiting for an alternative, this is to be preferred because it
retains the option to display that data if an alternative is not
received (see above).
Partial message data should not be buffered for this purpose:
displaying part of the original message is not an allowable
substitute for displaying all of the received data. (There may be
some value in keeping some of the original message data for
diagnostic purposes.)
<span class="grey">Klyne, et. al. Standards Track [Page 41]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-42" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
If a receiver starts to buffer message data pending negotiation, then
finds that the entire message is too large to buffer, it may choose
to fall back to "extended mode" and display the incoming data as it
is received.
When a sender indicates availability of alternative data, it also
indicates whether it is permanently or transiently available. The
intent of this is that if alternative data is transient, a receiver
should not discard original data received. If necessary, it should
simply display the original data without requesting an alternative.
<span class="h3"><a class="selflink" id="appendix-A.3" href="#appendix-A.3">A.3</a> Sender state</span>
When a sender indicates that it can offer an alternative format of
message content, it accepts some responsibility for trying to ensure
that alternative is available if requested. Thus, the message
content (both original and any alternative) should be stored for a
reasonable period, together with any corresponding Message-ID
value(s).
A request for retransmission must be accompanied by an Original-
Message-ID value that the sender can use to correlate with the
message data originally sent.
<span class="h3"><a class="selflink" id="appendix-A.4" href="#appendix-A.4">A.4</a> Timeout of offer of alternatives</span>
If the sender is operating with a high capacity message storage
device (e.g., a disk drive), and normally holds the data for extended
periods (several days or weeks) then it should indicate that the
alternative data is permanently available (see 6.1): a recipient
seeing this may discard the original data, assuming that the sender
will most likely be able to re-transmit.
If the sender has limited memory capacity, and is likely to be able
to hold the data for no more than a few minutes or hours, it should
indicate that the alternative data is transiently available (see
6.1). If there is doubt about a sender's ability to keep the message
content, it should indicate that availability of any alternative is
transient.
<span class="h3"><a class="selflink" id="appendix-A.5" href="#appendix-A.5">A.5</a> Timeout of receiver capabilities</span>
It should not be assumed that receiver capabilities declared during
negotiation are available indefinitely.
<span class="grey">Klyne, et. al. Standards Track [Page 42]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-43" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
In particular, any receiver capabilities declared on a final message
confirmation should be regarded as definitive, even if they differ
from the capabilities associated with the message just accepted.
These may be stored for future use.
Any receiver capabilities declared when requesting an alternative
format should not be stored for future use, as the receiver might be
selective about the purposes for which those capabilities may be
used.
<span class="h3"><a class="selflink" id="appendix-A.6" href="#appendix-A.6">A.6</a> Relationship to timely delivery</span>
Some of the issues of sender state maintenance may be simplified if
content negotiation is used in conjunction with a facility for timely
delivery (e.g., [<a href="#ref-21" title=""Timely Delivery for Facsimile Using Internet Mail"">21</a>]). If there is a known time window within which
a response should be received, the sender may be less conservative
about keeping information about outstanding offers of alternative
data for extended periods. A sender that exploits timely delivery in
this way should indicate that the alternative is transiently
available.
<span class="h3"><a class="selflink" id="appendix-A.7" href="#appendix-A.7">A.7</a> Ephemeral capabilities</span>
Ephemeral capabilities may present some special problems. Consider
the case of selection of a particular content variant that may depend
on an ephemeral setting.
Imagine someone sending a basic fax to a color fax machine,
indicating that a color alternative is available. The color fax
discards the content and sends an MDN which says
"deleted/alternative-preferred" to the originator. It then runs out
of colored ink. The originating fax then sends a new message which
the colored fax cannot print.
Or consider an the email client in a phone with sound on/off as a
related problem. When sound is ON, the phone may be able to accept
voice messages by email.
This negotiation framework has not been designed with ephemeral
capabilities in mind, but, with care, may be adaptable to deal with
them.
<span class="grey">Klyne, et. al. Standards Track [Page 43]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-44" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
<span class="h3"><a class="selflink" id="appendix-A.8" href="#appendix-A.8">A.8</a> Situations where MDNs must not be auto-generated</span>
Bearing in mind privacy concerns, implementers should be careful that
systems do not automatically enter into a negotiation exchange in a
way that may disclose the recipient's whereabouts without first
having obtained explicit permission. For example, if receiving a
message depends in any way on the user's physical presence, automatic
negotiation should not be performed.
While it may be OK for an unattended fax machine to perform automated
negotiation, it is not OK for a PC software package to do so without
the users explicit permission as the PC may be switched on only when
the user is present. This suggests that default settings in this
regard should take account of the type of system.
Appendix B: Candidates for further enhancements
This appendix lists some possible features of content negotiation
that were considered, but not included in the current specification.
In most cases the reasons for exclusion were (a) that they could
introduce unanticipated additional complexities, and (b) no
compelling requirement was recognized.
o Cache control indicator for recipient capabilities. This would
instruct the sender, or other message system component, that
capability information in the current message is for the current
transaction only, and should NOT be remembered for future
transactions. E.g., a recipient may not wish colour capability to
be used for routine communications. (See also section A.5 above.)
o Use of q-values [<a href="#ref-6" title=""A syntax for describing media feature sets"">6</a>] in media feature expressions for indicating
preference among alternatives available and/or receiver
preferences.
o Partial re-sends. There are proposals being developed for
"partial MDN" responses that can indicate disposition status on a
per-message-part basis. This opens the possibility of partial
re-sends when alternative formats are requested for only some of
the message body parts. The current specification assumes that
either none or all of message is re-sent when content negotiation
is used.
o Allow negotiation with parties other than originally addressed
recipients of a message.
o Negotiation response might indicate different receiver endpoint
with different capabilities.
<span class="grey">Klyne, et. al. Standards Track [Page 44]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-45" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
Authors' Addresses
Graham Klyne (editor)
Clearswift Corporation,
1310 Waterside,
Arlington Business Park
Theale
Reading, RG7 4SA
United Kingdom
Phone: +44 11 8903 8903
Fax: +44 11 8903 9000
EMail: GK@ACM.ORG
Ryuji Iwazaki
TOSHIBA TEC CORPORATION
2-4-1, Shibakoen, Minato-ku,
Tokyo, 105-8524 Japan
Phone: +81 3 3438 6866
Fax: +81 3 5402 6355
EMail: iwa@rdl.toshibatec.co.jp
Dave Crocker
Brandenburg InternetWorking
675 Spruce Dr.
Sunnyvale, CA 94086 USA
Phone: +1 408 246 8253
Fax: +1 408 249 6205
EMail: dcrocker@brandenburg.com
<span class="grey">Klyne, et. al. Standards Track [Page 45]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-46" ></span>
<span class="grey"><a href="./rfc3297">RFC 3297</a> Content Negotiation for Messaging Services July 2002</span>
Full Copyright Statement
Copyright (C) The Internet Society (2002). All Rights Reserved.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implementation may be prepared, copied, published
and distributed, in whole or in part, without restriction of any
kind, provided that the above copyright notice and this paragraph are
included on all such copies and derivative works. However, this
document itself may not be modified in any way, such as by removing
the copyright notice or references to the Internet Society or other
Internet organizations, except as needed for the purpose of
developing Internet standards in which case the procedures for
copyrights defined in the Internet Standards process must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assigns.
This document and the information contained herein is provided on an
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
Klyne, et. al. Standards Track [Page 46]
</pre>
|