/usr/share/doc/racket/net/mime.html is in racket-doc 6.1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>12 MIME: Decoding Internet Data</title><link rel="stylesheet" type="text/css" href="../scribble.css" title="default"/><link rel="stylesheet" type="text/css" href="../racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-style.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../doc-site.css" title="default"/><script type="text/javascript" src="../scribble-common.js"></script><script type="text/javascript" src="../manual-racket.js"></script><script type="text/javascript" src="../doc-site.js"></script><script type="text/javascript" src="../local-redirect/local-redirect.js"></script><script type="text/javascript" src="../local-redirect/local-user-redirect.js"></script><!--[if IE 6]><style type="text/css">.SIEHidden { overflow: hidden; }</style><![endif]--></head><body id="doc-racket-lang-org"><div class="tocset"><div class="tocview"><div class="tocviewlist tocviewlisttopspace"><div class="tocviewtitle"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,"tocview_0");">▼</a></td><td></td><td><a href="index.html" class="tocviewlink" data-pltdoc="x">Net:<span class="mywbr"> </span> Networking Libraries</a></td></tr></table></div><div class="tocviewsublisttop" style="display: block;" id="tocview_0"><table cellspacing="0" cellpadding="0"><tr><td align="right">1 </td><td><a href="http-client.html" class="tocviewlink" data-pltdoc="x">HTTP Client</a></td></tr><tr><td align="right">2 </td><td><a href="url.html" class="tocviewlink" data-pltdoc="x">URLs and HTTP</a></td></tr><tr><td align="right">3 </td><td><a href="uri-codec.html" class="tocviewlink" data-pltdoc="x">URI Codec:<span class="mywbr"> </span> Encoding and Decoding URIs</a></td></tr><tr><td align="right">4 </td><td><a href="websocket.html" class="tocviewlink" data-pltdoc="x">Web<span class="mywbr"> </span>Socket</a></td></tr><tr><td align="right">5 </td><td><a href="ftp.html" class="tocviewlink" data-pltdoc="x">FTP:<span class="mywbr"> </span> Client</a></td></tr><tr><td align="right">6 </td><td><a href="sendurl.html" class="tocviewlink" data-pltdoc="x">Send URL:<span class="mywbr"> </span> Opening a Web Browser</a></td></tr><tr><td align="right">7 </td><td><a href="smtp.html" class="tocviewlink" data-pltdoc="x">SMTP:<span class="mywbr"> </span> Sending E-<wbr></wbr>Mail</a></td></tr><tr><td align="right">8 </td><td><a href="sendmail.html" class="tocviewlink" data-pltdoc="x"><span class="stt">sendmail</span>:<span class="mywbr"> </span> Sending E-<wbr></wbr>Mail</a></td></tr><tr><td align="right">9 </td><td><a href="head.html" class="tocviewlink" data-pltdoc="x">Headers:<span class="mywbr"> </span> Parsing and Constructing</a></td></tr><tr><td align="right">10 </td><td><a href="imap.html" class="tocviewlink" data-pltdoc="x">IMAP:<span class="mywbr"> </span> Reading Mail</a></td></tr><tr><td align="right">11 </td><td><a href="pop3.html" class="tocviewlink" data-pltdoc="x">POP3:<span class="mywbr"> </span> Reading Mail</a></td></tr><tr><td align="right">12 </td><td><a href="" class="tocviewselflink" data-pltdoc="x">MIME:<span class="mywbr"> </span> Decoding Internet Data</a></td></tr><tr><td align="right">13 </td><td><a href="base64.html" class="tocviewlink" data-pltdoc="x">Base 64:<span class="mywbr"> </span> Encoding and Decoding</a></td></tr><tr><td align="right">14 </td><td><a href="qp.html" class="tocviewlink" data-pltdoc="x">Quoted-<wbr></wbr>Printable:<span class="mywbr"> </span> Encoding and Decoding</a></td></tr><tr><td align="right">15 </td><td><a href="dns.html" class="tocviewlink" data-pltdoc="x">DNS:<span class="mywbr"> </span> Domain Name Service Queries</a></td></tr><tr><td align="right">16 </td><td><a href="nntp.html" class="tocviewlink" data-pltdoc="x">NNTP:<span class="mywbr"> </span> Newsgroup Protocol</a></td></tr><tr><td align="right">17 </td><td><a href="tcp.html" class="tocviewlink" data-pltdoc="x">TCP:<span class="mywbr"> </span> Unit and Signature</a></td></tr><tr><td align="right">18 </td><td><a href="tcp-redirect.html" class="tocviewlink" data-pltdoc="x">TCP Redirect:<span class="mywbr"> </span> <span class="RktSym"><span class="RktStxLink">tcp^</span></span> via Channels</a></td></tr><tr><td align="right">19 </td><td><a href="ssl-tcp-unit.html" class="tocviewlink" data-pltdoc="x">SSL Unit:<span class="mywbr"> </span> <span class="RktSym"><span class="RktStxLink">tcp^</span></span> via SSL</a></td></tr><tr><td align="right">20 </td><td><a href="cgi.html" class="tocviewlink" data-pltdoc="x">CGI Scripts</a></td></tr><tr><td align="right">21 </td><td><a href="cookie.html" class="tocviewlink" data-pltdoc="x">Cookie:<span class="mywbr"> </span> HTTP Client Storage</a></td></tr><tr><td align="right"></td><td><a href="doc-bibliography.html" class="tocviewlink" data-pltdoc="x">Bibliography</a></td></tr><tr><td align="right"></td><td><a href="doc-index.html" class="tocviewlink" data-pltdoc="x">Index</a></td></tr></table></div></div><div class="tocviewlist"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,"tocview_1");">►</a></td><td>12 </td><td><a href="" class="tocviewselflink" data-pltdoc="x">MIME:<span class="mywbr"> </span> Decoding Internet Data</a></td></tr></table><div class="tocviewsublistbottom" style="display: none;" id="tocview_1"><table cellspacing="0" cellpadding="0"><tr><td align="right">12.1 </td><td><a href="#%28part._.Message_.Decoding%29" class="tocviewlink" data-pltdoc="x">Message Decoding</a></td></tr><tr><td align="right">12.2 </td><td><a href="#%28part._mime-exns%29" class="tocviewlink" data-pltdoc="x">Exceptions</a></td></tr><tr><td align="right">12.3 </td><td><a href="#%28part._.M.I.M.E_.Unit%29" class="tocviewlink" data-pltdoc="x">MIME Unit</a></td></tr><tr><td align="right">12.4 </td><td><a href="#%28part._.M.I.M.E_.Signature%29" class="tocviewlink" data-pltdoc="x">MIME Signature</a></td></tr></table></div></div></div><div class="tocsub"><div class="tocsubtitle">On this page:</div><table class="tocsublist" cellspacing="0"><tr><td><span class="tocsublinknumber">12.1<tt> </tt></span><a href="#%28part._.Message_.Decoding%29" class="tocsubseclink" data-pltdoc="x">Message Decoding</a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._mime-analyze%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">mime-<wbr></wbr>analyze</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._message%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">message</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._entity%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">entity</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._disposition%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">disposition</span></span></a></td></tr><tr><td><span class="tocsublinknumber">12.2<tt> </tt></span><a href="#%28part._mime-exns%29" class="tocsubseclink" data-pltdoc="x">Exceptions</a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._mime-error%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">mime-<wbr></wbr>error</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._unexpected-termination%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">unexpected-<wbr></wbr>termination</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._missing-multipart-boundary-parameter%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">missing-<wbr></wbr>multipart-<wbr></wbr>boundary-<wbr></wbr>parameter</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._malformed-multipart-entity%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">malformed-<wbr></wbr>multipart-<wbr></wbr>entity</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._empty-mechanism%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">empty-<wbr></wbr>mechanism</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._empty-type%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">empty-<wbr></wbr>type</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._empty-subtype%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">empty-<wbr></wbr>subtype</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._empty-disposition-type%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">empty-<wbr></wbr>disposition-<wbr></wbr>type</span></span></a></td></tr><tr><td><span class="tocsublinknumber">12.3<tt> </tt></span><a href="#%28part._.M.I.M.E_.Unit%29" class="tocsubseclink" data-pltdoc="x">MIME Unit</a></td></tr><tr><td><a href="#%28def._%28%28lib._net%2Fmime-unit..rkt%29._mime~40%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">mime@</span></span></a></td></tr><tr><td><span class="tocsublinknumber">12.4<tt> </tt></span><a href="#%28part._.M.I.M.E_.Signature%29" class="tocsubseclink" data-pltdoc="x">MIME Signature</a></td></tr><tr><td><a href="#%28form._%28%28lib._net%2Fmime-sig..rkt%29._mime~5e%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">mime^</span></span></a></td></tr></table></div></div><div class="maincolumn"><div class="main"><div class="navsettop"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, "6.1", "../");" onfocus="this.style.color="black"; this.style.textAlign="left"; if (this.value == "...search manuals...") this.value="";" onblur="if (this.value.match(/^ *$/)) { this.style.color="#888"; this.style.textAlign="center"; this.value="...search manuals..."; }"/></form> <a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot("6.1");">top</a></span><span class="navright"> <a href="pop3.html" title="backward to "11 POP3: Reading Mail"" data-pltdoc="x">← prev</a> <a href="index.html" title="up to "Net: Networking Libraries"" data-pltdoc="x">up</a> <a href="base64.html" title="forward to "13 Base 64: Encoding and Decoding"" data-pltdoc="x">next →</a></span> </div><h3 x-source-module="(lib "net/scribblings/net.scrbl")" x-part-tag=""mime"">12<tt> </tt><a name="(part._mime)"></a><a name="(mod-path._net/mime)"></a>MIME: Decoding Internet Data</h3><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left"><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="" class="RktModLink" data-pltdoc="x"><span class="RktSym">net/mime</span></a><span class="RktPn">)</span></td><td align="right"><span class="RpackageSpec"><span class="Smaller"> package:</span> <span class="stt">net-lib</span></span></td></tr></table></div><div class="SIntrapara">The <a href="" class="RktModLink" data-pltdoc="x"><span class="RktSym">net/mime</span></a> library provides
utilities for parsing and creating MIME encodings as described in RFC
2045 through RFC 2049.</div><div class="SIntrapara">The library was written by Francisco Solsona.</div></p><h4 x-source-module="(lib "net/scribblings/net.scrbl")" x-part-tag=""Message_Decoding"">12.1<tt> </tt><a name="(part._.Message_.Decoding)"></a>Message Decoding</h4><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._net/mime..rkt)._mime-analyze))"></a><span title="Provided from: net/mime | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._mime-analyze%29%29" class="RktValDef RktValLink" data-pltdoc="x">mime-analyze</a></span></span><span class="hspace"> </span><span class="RktVar">message-in</span><span class="hspace"> </span>[<span class="RktVar">part?</span>]<span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._message~3f%29%29" class="RktValLink" data-pltdoc="x">message?</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">message-in</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=bytestrings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._bytes%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">bytes?</a></span><span class="hspace"> </span><span class="RktSym">input-port</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">part?</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._any%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">any/c</a></span><span class="hspace"> </span>=<span class="hspace"> </span><span class="RktVal">#f</span></td></tr></table></blockquote></div><div class="SIntrapara">Parses <span class="RktVar">message-in</span> and returns the parsed result as a
<span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._message%29%29" class="RktValLink" data-pltdoc="x">message</a></span> instance.</div></p><p>If <span class="RktVar">part?</span> is <span class="RktVal">#f</span>, then <span class="RktVar">message-in</span> should
start with the header for a full message; otherwise,
<span class="RktVar">message-in</span> should start with the header for a part within a
message.</p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><a name="(def._((lib._net/mime..rkt)._message-fields))"></a><a name="(def._((lib._net/mime..rkt)._message-entity))"></a><a name="(def._((lib._net/mime..rkt)._message-version))"></a><a name="(def._((lib._net/mime..rkt)._make-message))"></a><a name="(def._((lib._net/mime..rkt)._message~3f))"></a><a name="(def._((lib._net/mime..rkt)._struct~3amessage))"></a><a name="(def._((lib._net/mime..rkt)._message))"></a><span title="Provided from: net/mime | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._message%29%29" class="RktValDef RktValLink" data-pltdoc="x">message</a></span></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym">version</span><span class="stt"> </span><span class="RktSym">entity</span><span class="stt"> </span><span class="RktSym">fields</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._make-message%29%29" class="RktValLink" data-pltdoc="x">make-message</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">version</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._real%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">real?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">entity</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._entity%29%29" class="RktValLink" data-pltdoc="x">entity</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">fields</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">A decoded MIME message. The version is <span class="RktVal">1.0</span> by default. The
<span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._entity%29%29" class="RktValLink" data-pltdoc="x">entity</a></span> field represents the message data. The <span class="RktSym">fields</span>
field contains one string for each field in the message header.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><span class="nobreak"><a name="(def._((lib._net/mime..rkt)._entity-body))"></a><a name="(def._((lib._net/mime..rkt)._entity-parts))"></a><a name="(def._((lib._net/mime..rkt)._entity-fields))"></a><a name="(def._((lib._net/mime..rkt)._entity-other))"></a><a name="(def._((lib._net/mime..rkt)._entity-description))"></a><a name="(def._((lib._net/mime..rkt)._entity-id))"></a><a name="(def._((lib._net/mime..rkt)._entity-params))"></a><a name="(def._((lib._net/mime..rkt)._entity-disposition))"></a><a name="(def._((lib._net/mime..rkt)._entity-encoding))"></a><a name="(def._((lib._net/mime..rkt)._entity-charset))"></a><a name="(def._((lib._net/mime..rkt)._entity-subtype))"></a><a name="(def._((lib._net/mime..rkt)._entity-type))"></a><a name="(def._((lib._net/mime..rkt)._make-entity))"></a><a name="(def._((lib._net/mime..rkt)._entity~3f))"></a><a name="(def._((lib._net/mime..rkt)._struct~3aentity))"></a><a name="(def._((lib._net/mime..rkt)._entity))"></a><span title="Provided from: net/mime | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._entity%29%29" class="RktValDef RktValLink" data-pltdoc="x">entity</a></span></span></span></td><td><span class="hspace"> </span><span class="RktPn">(</span></td><td><span class="nobreak"><span class="RktSym">type</span></span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">subtype</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">charset</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">encoding</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">disposition</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">params</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">id</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">description</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">other</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">fields</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">parts</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">body</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._make-entity%29%29" class="RktValLink" data-pltdoc="x">make-entity</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">type</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=symbols.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._symbol%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">symbol?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">subtype</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=symbols.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._symbol%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">symbol?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">charset</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=symbols.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._symbol%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">symbol?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">encoding</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=symbols.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._symbol%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">symbol?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">disposition</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._disposition~3f%29%29" class="RktValLink" data-pltdoc="x">disposition?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">params</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._cons%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">cons/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=symbols.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._symbol%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">symbol?</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">id</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">description</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">other</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">fields</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">parts</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._message~3f%29%29" class="RktValLink" data-pltdoc="x">message?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">body</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=port-ops.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._output-port%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">output-port?</a></span><span class="hspace"> </span><span class="RktPn">. </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=function-contracts.html%23%2528form._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._-%7E3e%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x"><span class="nobreak">-></span></a></span><span class="RktPn"> .</span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">void?</a></span><span class="RktPn">)</span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=pairs.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._null%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">null?</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Represents the content of a message or a sub-part. The
<span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._mime-analyze%29%29" class="RktValLink" data-pltdoc="x">mime-analyze</a></span> function chooses default values for fields
when they are not specified in input.</div></p><p>Standard values for the <span class="RktSym">type</span> field include <span class="RktVal">'</span><span class="RktVal">text</span>,
<span class="RktVal">'</span><span class="RktVal">image</span>, <span class="RktVal">'</span><span class="RktVal">audio</span>, <span class="RktVal">'</span><span class="RktVal">video</span>,
<span class="RktVal">'</span><span class="RktVal">application</span>, <span class="RktVal">'</span><span class="RktVal">message</span>, and <span class="RktVal">'</span><span class="RktVal">multipart</span>.</p><p>Standard values for the <span class="RktSym">subtype</span> field depend on the
<span class="RktSym">type</span> field, and include the following, but any
<span class="RktSym">subtype</span> is allowed as a downcased version of the
specification from the header.</p><p><table cellspacing="0" cellpadding="0"><tr><td><p><span class="RktVal">'</span><span class="RktVal">text</span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">plain</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[RFC1521, NSB]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">richtext</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[RFC1521, NSB]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">tab-separated-values</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[Lindner]</p></td></tr><tr><td><p><span class="RktVal">'</span><span class="RktVal">multipart</span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">mixed</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[RFC1521, NSB]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">alternative</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[RFC1521, NSB]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">digest</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[RFC1521, NSB]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">parallel</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[RFC1521, NSB]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">appledouble</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[MacMime, Faltstrom]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">header-set</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[Crocker]</p></td></tr><tr><td><p><span class="RktVal">'</span><span class="RktVal">message</span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">rfc822</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[RFC1521, NSB]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">partial</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[RFC1521, NSB]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">external-body</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[RFC1521, NSB]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">news</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[RFC 1036, Spencer]</p></td></tr><tr><td><p><span class="RktVal">'</span><span class="RktVal">application</span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">octet-stream</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[RFC1521, NSB]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">postscript</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[RFC1521, NSB]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">oda</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[RFC1521, NSB]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">atomicmail</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[atomicmail, NSB]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">andrew-inset</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[andrew-inset, NSB]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">slate</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[slate, Crowley]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">wita</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[Wang Info Transfer, Campbell]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">dec-dx</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[Digital Doc Trans, Campbell]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">dca-rft</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[IBM Doc Content Arch, Campbell]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">activemessage</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[Shapiro]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">rtf</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[Lindner]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">applefile</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[MacMime, Faltstrom]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">mac-binhex40</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[MacMime, Faltstrom]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">news-message-id</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[RFC1036, Spencer]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">news-transmission</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[RFC1036, Spencer]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">wordperfect5.1</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[Lindner]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">pdf</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[Lindner]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">zip</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[Lindner]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">macwriteii</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[Lindner]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">msword</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[Lindner]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">remote-printing</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[RFC1486,MTR]</p></td></tr><tr><td><p><span class="RktVal">'</span><span class="RktVal">image</span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">jpeg</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[RFC1521, NSB]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">gif</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[RFC1521, NSB]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">ief</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[RFC1314]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">tiff</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[MTR]</p></td></tr><tr><td><p><span class="RktVal">'</span><span class="RktVal">audio</span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">basic</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[RFC1521, NSB]</p></td></tr><tr><td><p><span class="RktVal">'</span><span class="RktVal">video</span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">mpeg</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[RFC1521, NSB]</p></td></tr><tr><td><p><span class="hspace"> </span></p></td><td><p><span class="hspace"> </span></p></td><td><p><span class="RktVal">'</span><span class="RktVal">quicktime</span></p></td><td><p><span class="hspace"> </span></p></td><td><p>[Lindner]</p></td></tr></table></p><p>Standard values for the <span class="RktSym">charset</span> field include
<span class="RktVal">'</span><span class="RktVal">us-ascii</span>, which is the default.</p><p>Standard values for the <span class="RktSym">encoding</span> field are <span class="RktVal">'</span><span class="RktVal">7bit</span>,
<span class="RktVal">'</span><span class="RktVal">8bit</span>, <span class="RktVal">'</span><span class="RktVal">binary</span>, <span class="RktVal">'</span><span class="RktVal">quoted-printable</span>, and
<span class="RktVal">'</span><span class="RktVal">base64</span>. The default is <span class="RktVal">'</span><span class="RktVal">7bit</span>.</p><p>The <span class="RktSym">params</span> field contains a list of parameters from other
MIME headers.</p><p>The <span class="RktSym">id</span> field is taken from the <span class="RktVal">"Content-Id"</span> header
field.</p><p>The <span class="RktSym">description</span> field is taken from the
<span class="RktVal">"Content-description"</span> header field.</p><p>The <span class="RktSym">other</span> field contains additional (non-standard) field
headers whose field names start with <span class="RktVal">"Content-"</span>.</p><p>The <span class="RktSym">fields</span> field contains additional field headers whose
field names <span style="font-style: italic">do not</span> start with <span class="RktVal">"Content-"</span>.</p><p>The <span class="RktSym">parts</span> contains sub-parts from multipart MIME
messages. This list is non-empty only when <span class="RktSym">type</span> is
<span class="RktVal">'</span><span class="RktVal">multipart</span> or <span class="RktVal">'</span><span class="RktVal">message</span>.</p><p>The <span class="RktSym">body</span> field represents the body as a function that
consumes an output out and writes the decoded message to the port. If
<span class="RktSym">type</span> is <span class="RktVal">'</span><span class="RktVal">multipart</span> or <span class="RktVal">'</span><span class="RktVal">message</span>., then
<span class="RktSym">body</span> is <span class="RktVal">'</span><span class="RktVal">(</span><span class="RktVal">)</span>. All of the standard values of
<span class="RktSym">encoding</span> are supported. The procedure only works once (since
the encoded body is pulled from a stream).</p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><span class="nobreak"><a name="(def._((lib._net/mime..rkt)._disposition-params))"></a><a name="(def._((lib._net/mime..rkt)._disposition-size))"></a><a name="(def._((lib._net/mime..rkt)._disposition-read))"></a><a name="(def._((lib._net/mime..rkt)._disposition-modification))"></a><a name="(def._((lib._net/mime..rkt)._disposition-creation))"></a><a name="(def._((lib._net/mime..rkt)._disposition-filename))"></a><a name="(def._((lib._net/mime..rkt)._disposition-type))"></a><a name="(def._((lib._net/mime..rkt)._make-disposition))"></a><a name="(def._((lib._net/mime..rkt)._disposition~3f))"></a><a name="(def._((lib._net/mime..rkt)._struct~3adisposition))"></a><a name="(def._((lib._net/mime..rkt)._disposition))"></a><span title="Provided from: net/mime | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._disposition%29%29" class="RktValDef RktValLink" data-pltdoc="x">disposition</a></span></span></span></td><td><span class="hspace"> </span><span class="RktPn">(</span></td><td><span class="nobreak"><span class="RktSym">type</span></span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">filename</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">creation</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">modification</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">read</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">size</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">params</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._make-disposition%29%29" class="RktValLink" data-pltdoc="x">make-disposition</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">type</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=symbols.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._symbol%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">symbol?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">filename</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._false%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">false/c</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">creation</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._false%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">false/c</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">modification</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._false%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">false/c</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">read</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._false%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">false/c</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">size</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._or%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">or/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._exact-nonnegative-integer%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">exact-nonnegative-integer?</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._false%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">false/c</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">params</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._cons%252Fc%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">cons/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=symbols.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._symbol%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">symbol?</a></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Represents a <span class="RktVal">"Content-Disposition"</span> header as defined in RFC
2183.</div></p><p>Standard values for the <span class="RktSym">type</span> field include <span class="RktVal">'</span><span class="RktVal">inline</span>
and <span class="RktVal">'</span><span class="RktVal">attachment</span>.</p><p>The <span class="RktSym">filename</span> field is drawn from the <span class="RktVal">"filename"</span>
parameter of the <span class="RktVal">"Content-Disposition"</span> header, if included in
the message.</p><p>The <span class="RktSym">creation</span>, <span class="RktSym">modification</span>, and <span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=Reading.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._read%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">read</a></span> fields
represent file timestamps as drawn from the <span class="RktVal">"creation-date"</span>,
<span class="RktVal">"modification-date"</span>, and <span class="RktVal">"read-date"</span> attributes of
the <span class="RktVal">"Content-Disposition"</span> header, if included in the message.</p><p>The <span class="RktSym">size</span> field is drawn from the <span class="RktVal">"size"</span> parameter of
the <span class="RktVal">"Content-Disposition"</span> header, if included in the message.</p><p>The <span class="RktSym">params</span> field stores any additional attribute bindings of
the <span class="RktVal">"Content-Disposition"</span> header, if included in the message.</p><h4 x-source-module="(lib "net/scribblings/net.scrbl")" x-part-tag=""mime-exns"">12.2<tt> </tt><a name="(part._mime-exns)"></a>Exceptions</h4><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><a name="(def._((lib._net/mime..rkt)._make-mime-error))"></a><a name="(def._((lib._net/mime..rkt)._mime-error~3f))"></a><a name="(def._((lib._net/mime..rkt)._struct~3amime-error))"></a><a name="(def._((lib._net/mime..rkt)._mime-error))"></a><span title="Provided from: net/mime | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._mime-error%29%29" class="RktValDef RktValLink" data-pltdoc="x">mime-error</a></span></span><span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=exns.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._exn%7E3afail%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">exn:fail</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._make-mime-error%29%29" class="RktValLink" data-pltdoc="x">make-mime-error</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">The supertype of all MIME exceptions. Only the subtype
<span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._missing-multipart-boundary-parameter%29%29" class="RktValLink" data-pltdoc="x">missing-multipart-boundary-parameter</a></span> is ever actually
raised.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><a name="(def._((lib._net/mime..rkt)._unexpected-termination-msg))"></a><a name="(def._((lib._net/mime..rkt)._make-unexpected-termination))"></a><a name="(def._((lib._net/mime..rkt)._unexpected-termination~3f))"></a><a name="(def._((lib._net/mime..rkt)._struct~3aunexpected-termination))"></a><a name="(def._((lib._net/mime..rkt)._unexpected-termination))"></a><span title="Provided from: net/mime | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._unexpected-termination%29%29" class="RktValDef RktValLink" data-pltdoc="x">unexpected-termination</a></span></span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._mime-error%29%29" class="RktValLink" data-pltdoc="x">mime-error</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym">msg</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._make-unexpected-termination%29%29" class="RktValLink" data-pltdoc="x">make-unexpected-termination</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">msg</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Originally raised when an end-of-file is reached while parsing the
headers of a MIME entity, but currently a mere warning is logged.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><a name="(def._((lib._net/mime..rkt)._make-missing-multipart-boundary-parameter))"></a><a name="(def._((lib._net/mime..rkt)._missing-multipart-boundary-parameter~3f))"></a><a name="(def._((lib._net/mime..rkt)._struct~3amissing-multipart-boundary-parameter))"></a><a name="(def._((lib._net/mime..rkt)._missing-multipart-boundary-parameter))"></a><span title="Provided from: net/mime | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._missing-multipart-boundary-parameter%29%29" class="RktValDef RktValLink" data-pltdoc="x">missing-multipart-boundary-parameter</a></span></span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._mime-error%29%29" class="RktValLink" data-pltdoc="x">mime-error</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._make-missing-multipart-boundary-parameter%29%29" class="RktValLink" data-pltdoc="x">make-missing-multipart-boundary-parameter</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Raised when a multipart type is specified, but no <span class="RktVal">"Boundary"</span>
parameter is given.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><a name="(def._((lib._net/mime..rkt)._malformed-multipart-entity-msg))"></a><a name="(def._((lib._net/mime..rkt)._make-malformed-multipart-entity))"></a><a name="(def._((lib._net/mime..rkt)._malformed-multipart-entity~3f))"></a><a name="(def._((lib._net/mime..rkt)._struct~3amalformed-multipart-entity))"></a><a name="(def._((lib._net/mime..rkt)._malformed-multipart-entity))"></a><span title="Provided from: net/mime | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._malformed-multipart-entity%29%29" class="RktValDef RktValLink" data-pltdoc="x">malformed-multipart-entity</a></span></span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._mime-error%29%29" class="RktValLink" data-pltdoc="x">mime-error</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym">msg</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._make-malformed-multipart-entity%29%29" class="RktValLink" data-pltdoc="x">make-malformed-multipart-entity</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">msg</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Never actually raised.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><a name="(def._((lib._net/mime..rkt)._make-empty-mechanism))"></a><a name="(def._((lib._net/mime..rkt)._empty-mechanism~3f))"></a><a name="(def._((lib._net/mime..rkt)._struct~3aempty-mechanism))"></a><a name="(def._((lib._net/mime..rkt)._empty-mechanism))"></a><span title="Provided from: net/mime | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._empty-mechanism%29%29" class="RktValDef RktValLink" data-pltdoc="x">empty-mechanism</a></span></span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._mime-error%29%29" class="RktValLink" data-pltdoc="x">mime-error</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._make-empty-mechanism%29%29" class="RktValLink" data-pltdoc="x">make-empty-mechanism</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Never actually raised.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><a name="(def._((lib._net/mime..rkt)._make-empty-type))"></a><a name="(def._((lib._net/mime..rkt)._empty-type~3f))"></a><a name="(def._((lib._net/mime..rkt)._struct~3aempty-type))"></a><a name="(def._((lib._net/mime..rkt)._empty-type))"></a><span title="Provided from: net/mime | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._empty-type%29%29" class="RktValDef RktValLink" data-pltdoc="x">empty-type</a></span></span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._mime-error%29%29" class="RktValLink" data-pltdoc="x">mime-error</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._make-empty-type%29%29" class="RktValLink" data-pltdoc="x">make-empty-type</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Never actually raised.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><a name="(def._((lib._net/mime..rkt)._make-empty-subtype))"></a><a name="(def._((lib._net/mime..rkt)._empty-subtype~3f))"></a><a name="(def._((lib._net/mime..rkt)._struct~3aempty-subtype))"></a><a name="(def._((lib._net/mime..rkt)._empty-subtype))"></a><span title="Provided from: net/mime | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._empty-subtype%29%29" class="RktValDef RktValLink" data-pltdoc="x">empty-subtype</a></span></span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._mime-error%29%29" class="RktValLink" data-pltdoc="x">mime-error</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._make-empty-subtype%29%29" class="RktValLink" data-pltdoc="x">make-empty-subtype</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Never actually raised.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><a name="(def._((lib._net/mime..rkt)._make-empty-disposition-type))"></a><a name="(def._((lib._net/mime..rkt)._empty-disposition-type~3f))"></a><a name="(def._((lib._net/mime..rkt)._struct~3aempty-disposition-type))"></a><a name="(def._((lib._net/mime..rkt)._empty-disposition-type))"></a><span title="Provided from: net/mime | Package: net-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._empty-disposition-type%29%29" class="RktValDef RktValLink" data-pltdoc="x">empty-disposition-type</a></span></span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._mime-error%29%29" class="RktValLink" data-pltdoc="x">mime-error</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime..rkt%29._make-empty-disposition-type%29%29" class="RktValLink" data-pltdoc="x">make-empty-disposition-type</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Never actually raised.</div></p><h4 x-source-module="(lib "net/scribblings/net.scrbl")" x-part-tag=""MIME_Unit"">12.3<tt> </tt><a name="(part._.M.I.M.E_.Unit)"></a><a name="(mod-path._net/mime-unit)"></a>MIME Unit</h4><blockquote class="refpara"><blockquote class="refcolumn"><blockquote class="refcontent"><p><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime-unit..rkt%29._mime~40%29%29" class="RktValLink" data-pltdoc="x">mime@</a></span> and <span class="RktSym"><a href="#%28form._%28%28lib._net%2Fmime-sig..rkt%29._mime~5e%29%29" class="RktStxLink" data-pltdoc="x">mime^</a></span> are deprecated.
They exist for backward-compatibility and will likely be removed in
the future. New code should use the <a href="" class="RktModLink" data-pltdoc="x"><span class="RktSym">net/mime</span></a> module.</p></blockquote></blockquote></blockquote><p><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left"><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="#%28mod-path._net%2Fmime-unit%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">net/mime-unit</span></a><span class="RktPn">)</span></td><td align="right"><span class="RpackageSpec"><span class="Smaller"> package:</span> <span class="stt">compatibility-lib</span></span></td></tr></table></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>value</p></div></div><p class="RForeground"><a name="(def._((lib._net/mime-unit..rkt)._mime~40))"></a><span title="Provided from: net/mime-unit | Package: compatibility-lib"><span class="RktSym"><a href="#%28def._%28%28lib._net%2Fmime-unit..rkt%29._mime~40%29%29" class="RktValDef RktValLink" data-pltdoc="x">mime@</a></span></span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym">unit?</span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Imports nothing, exports <span class="RktSym"><a href="#%28form._%28%28lib._net%2Fmime-sig..rkt%29._mime~5e%29%29" class="RktStxLink" data-pltdoc="x">mime^</a></span>.</div></p><h4 x-source-module="(lib "net/scribblings/net.scrbl")" x-part-tag=""MIME_Signature"">12.4<tt> </tt><a name="(part._.M.I.M.E_.Signature)"></a><a name="(mod-path._net/mime-sig)"></a>MIME Signature</h4><p><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left"><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&version=6.1" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="#%28mod-path._net%2Fmime-sig%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">net/mime-sig</span></a><span class="RktPn">)</span></td><td align="right"><span class="RpackageSpec"><span class="Smaller"> package:</span> <span class="stt">compatibility-lib</span></span></td></tr></table></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>signature</p></div></div><p class="RForeground"><a name="(form._((lib._net/mime-sig..rkt)._mime~5e))"></a><span title="Provided from: net/mime-sig | Package: compatibility-lib"><span class="RktSym"><a href="#%28form._%28%28lib._net%2Fmime-sig..rkt%29._mime~5e%29%29" class="RktStxDef RktStxLink" data-pltdoc="x">mime^</a></span></span><span class="hspace"> </span>:<span class="hspace"> </span>signature</p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara"><blockquote class="leftindent"></blockquote></div></p><p>Includes everything exported by the <a href="" class="RktModLink" data-pltdoc="x"><span class="RktSym">net/mime</span></a> module.</p><div class="navsetbottom"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, "6.1", "../");" onfocus="this.style.color="black"; this.style.textAlign="left"; if (this.value == "...search manuals...") this.value="";" onblur="if (this.value.match(/^ *$/)) { this.style.color="#888"; this.style.textAlign="center"; this.value="...search manuals..."; }"/></form> <a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot("6.1");">top</a></span><span class="navright"> <a href="pop3.html" title="backward to "11 POP3: Reading Mail"" data-pltdoc="x">← prev</a> <a href="index.html" title="up to "Net: Networking Libraries"" data-pltdoc="x">up</a> <a href="base64.html" title="forward to "13 Base 64: Encoding and Decoding"" data-pltdoc="x">next →</a></span> </div></div></div><div id="contextindicator"> </div></body></html>
|