<p>What is the content type for MHT files?</p>

[{'answer_id': 31257, 'author': 'Guy Starbuck', 'author_id': 2194, 'author_profile': 'https://Stackoverflow.com/users/2194', 'pm_score': 2, 'selected': False, 'text': '<p>message/rfc822</p>\n\n<p>RFC 822 - STANDARD FOR THE FORMAT OF ARPA INTERNET TEXT MESSAGES</p>\n\n<p>Here is a hyperlink: <a href="http://www.faqs.org/rfcs/rfc822.html" rel="nofollow noreferrer">message/rfc822</a></p>\n'}, {'answer_id': 31275, 'author': 'Eric Z Beard', 'author_id': 1219, 'author_profile': 'https://Stackoverflow.com/users/1219', 'pm_score': -1, 'selected': True, 'text': '<p>application/octet-stream</p>\n\n<p>You can stream the contents of a .eml file to a browser with this content type and .mht as the extension, and the email will be rendered similar to the way it is rendered in an email client.</p>\n'}, {'answer_id': 3262124, 'author': 'Luke Quinane', 'author_id': 18437, 'author_profile': 'https://Stackoverflow.com/users/18437', 'pm_score': 3, 'selected': False, 'text': '<p>Microsoft, who co-authored the spec for MHT, seem to think that it should be \'<code>message/rfc822</code>\' on <a href="http://support.microsoft.com/kb/937912" rel="nofollow noreferrer">this support page</a>.</p>\n<p>No specific MIME type seems to be given in the spec though:\n<a href="https://www.rfc-editor.org/rfc/rfc2557" rel="nofollow noreferrer">RFC2557: MIME Encapsulation of Aggregate Documents, such as HTML (MHTML)</a></p>\n'}, {'answer_id': 13154862, 'author': 'feeela', 'author_id': 341201, 'author_profile': 'https://Stackoverflow.com/users/341201', 'pm_score': 2, 'selected': False, 'text': '<p>&quot;MIME Encapsulation of Aggregate Documents, such as HTML&quot; (MHTML or MHT) is an IETF standard proposed in 1999 in the <a href="https://www.rfc-editor.org/rfc/rfc2557" rel="nofollow noreferrer">RFC 2557</a>.</p>\n<p>Its MIME type is <code>multipart/related</code> and the extension is <code>.mht</code>.</p>\n<p>See also:</p>\n<ul>\n<li><a href="https://www.rfc-editor.org/rfc/rfc2557" rel="nofollow noreferrer">https://www.rfc-editor.org/rfc/rfc2557</a></li>\n<li><a href="http://en.wikipedia.org/wiki/MHTML" rel="nofollow noreferrer">http://en.wikipedia.org/wiki/MHTML</a></li>\n</ul>\n'}, {'answer_id': 20169125, 'author': 'geo', 'author_id': 2002992, 'author_profile': 'https://Stackoverflow.com/users/2002992', 'pm_score': 3, 'selected': False, 'text': '<p>I know this is old, but I thought it should be clarified and explained in more detail...</p>\n\n<p>@Guy Starbuck wrote:</p>\n\n<blockquote>\n  <p>message/rfc822</p>\n  \n  <p>RFC 822 - STANDARD FOR THE FORMAT OF ARPA INTERNET TEXT MESSAGES</p>\n</blockquote>\n\n<p>The problem with this answer is that MHTML files <strong><em>are not defined by RFC822</em></strong>.</p>\n\n<p>The correct content-type for MHTML files (.mht, .mhtml) is <strong><em>multipart/related</em></strong>.</p>\n\n<p>As stated above, <a href="http://www.ietf.org/rfc/rfc0822.txt" rel="noreferrer">RFC822</a> defines the format for internet <em>text messages</em>.  The content-type <strong><em>message/rfc822</em></strong> is used for text attachments within email messages [1][2].</p>\n\n<p>Most of us have probably received a reply to an email where, instead of being quoted inline, the original message is included as an attachment.  That <em>attachment</em> has a content-type of <strong><em>message/rfc822</em></strong>.  In such emails, the content-types break down as follows:</p>\n\n<ul>\n<li><em><strong>multipart/mixed</em></strong> = entire message</li>\n<li><em><strong>text/plain</em></strong> = text of reply email</li>\n<li><em><strong>message/rfc822</em></strong> = original email as attachment</li>\n</ul>\n\n<p>On the other hand, as noted by @feeela, <strong>MHTML</strong> files are defined in <a href="http://www.ietf.org/rfc/rfc2557.txt" rel="noreferrer">RFC2557</a>.  MHTML files are comprised of many different parts, each of which can have a different content-type.  However, RFC2557 defines the content-type of the <strong>entire</strong> file as <strong><em>multipart/related</em></strong>.</p>\n\n<p>[1]  <a href="http://www.ietf.org/rfc/rfc1341.txt" rel="noreferrer">RFC1341:  MIME (Multipurpose Internet Mail Extensions)</a><br>\n[2]  <a href="http://www.w3.org/Protocols/rfc1341/7_3_Message.html" rel="noreferrer">The <strong>message</strong> Content-Type</a>  </p>\n'}]
['https://Stackoverflow.com/questions/31250', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2141/']