<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="8" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[8]</anchor-end> 
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">MIME</anchor> は <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC 822メッセージ</anchor>形式の<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">ヘッダー</anchor>と<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">本体</anchor>の構造を持っています。
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">ヘッダー部</anchor>では<dfn>MIMEヘッダー</dfn>が使えます。</p><section><h1>MIME 頭欄 + α の一覧</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="1" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[1]</anchor-end> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">MIME</anchor> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">実体</anchor>の頭欄として仕様・実装・使用例が見つかっているものの一覧:
→ <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">インターネットメールヘッダーの一覧</anchor>参照</p><ul><li>[IANAREG] <cite>IANA | MIME Media Types</cite>
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.iana.org/assignments/message-headers/message-header-index.html">http://www.iana.org/assignments/message-headers/message-header-index.html</anchor-external><ul><li>Permanent: <q>Page updated 07-October-2004</q></li><li>Provisional: <q>Page updated 06-Oct-2004</q></li></ul></li><li><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC 4021</anchor> <cite>Registration of Mail and MIME Header Fields</cite>
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="urn:ietf:rfc:4021">urn:ietf:rfc:4021</anchor-external></li></ul><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="2" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[2]</anchor-end> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Redmine</anchor> は <code class="MIME" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Date:</anchor></code> や
<code class="MIME" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">MIME-Version:</anchor></code> を <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">MIME</anchor> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">本体部分</anchor>に含めるようです。</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="4" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[4]</anchor-end><figure class="short list"><ul><li><code class="MIME" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Content-Answering-CID:</anchor></code></li><li><code>Content-features:</code></li><li><code class="MIME" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Content-Range:</anchor></code></li><li><code class="MIME" xml:lang="en"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Content-Script:</anchor></code></li></ul></figure></p></section><section><h1>RFC 2045 における定義</h1><figure class="quote"><figcaption><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="5" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[5]</anchor-end> 3.  MIME Header Fields</figcaption><blockquote><p>MIME defines a number of new RFC 822 header fields that are used to
describe the content of a MIME entity.  These header fields occur in
at least two contexts:</p></blockquote><p>和訳</p><blockquote><p>MIME は MIME 実体の内容を説明するのに使う幾つかの新しい 
RFC 822 頭領域を定義します。これらの頭領域は少なくても次の二つの場面で
使うことが出来ます。</p></blockquote><blockquote><ol><li>As part of a regular RFC 822 message header.</li><li>In a MIME body part header within a multipart construct.</li></ol></blockquote><p>和訳</p><blockquote><ol><li>普通の RFC 822 メッセージ頭の一部として。</li><li>多部分構造中の MIME 本文部分頭の中で。</li></ol></blockquote><blockquote><p>The formal definition of these header fields is as follows:</p></blockquote><p>和訳</p><blockquote><p>これらの頭領域の正式な定義は次の通りです。</p></blockquote><blockquote><pre>     entity-headers := [ content CRLF ]
                       [ encoding CRLF ]
                       [ id CRLF ]
                       [ description CRLF ]
                       *( MIME-extension-field CRLF )
&gt;
     MIME-message-headers := entity-headers
                             fields
                             version CRLF
                             ; The ordering of the header
                             ; fields implied by this BNF
                             ; definition should be ignored.</pre></blockquote><p>コメント和訳</p><blockquote><p>この BNF 定義に見られる頭領域の順序は無視するべきです。</p></blockquote><blockquote><pre>     MIME-part-headers := entity-headers
                          [ fields ]
                          ; Any field not beginning with
                          ; &quot;content-&quot; can have no defined
                          ; meaning and may be ignored.
                          ; The ordering of the header
                          ; fields implied by this BNF
                          ; definition should be ignored.</pre></blockquote><p>コメント和訳</p><blockquote><p>&quot;content-&quot; で始まらないいかなる領域も意味は定義され得ず、
無視して構いません。この BNF 定義に見られる頭領域の順序は無視するべきです。</p></blockquote><blockquote><p>The syntax of the various specific MIME header fields will be
described in the following sections.</p></blockquote><p>和訳</p><blockquote><p>MIME 頭領域を規定する各種構文は次節以降で説明します。</p></blockquote></figure><ul><li>4. <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">MIME-Version</anchor></li><li>5. <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Content-Type</anchor></li><li>6. <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Content-Transfer-Encoding</anchor></li><li>7. <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Content-ID</anchor></li><li>8. <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Content-Description</anchor></li></ul><figure class="quote"><figcaption><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="6" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[6]</anchor-end> 9.  Additional MIME Header Fields</figcaption><blockquote><p>Future documents may elect to define additional MIME header fields
for various purposes.  Any new header field that further describes
the content of a message should begin with the string &quot;Content-&quot; to
allow such fields which appear in a message header to be
distinguished from ordinary RFC 822 message header fields.</p></blockquote><p>和訳</p><blockquote><p>将来の文書が各種目的に追加の MIME 頭領域を定義することを選ぶかもしれません。
メッセージの内容を更に説明する新しい頭領域は文字列 &quot;Content-&quot;
で始めて、メッセージ頭に現れたこの領域を普通の RFC 822
メッセージ頭領域と区別出来るようにするべきです。</p></blockquote><blockquote><pre>     MIME-extension-field := &lt;Any RFC 822 header field which
                              begins with the string
                              &quot;Content-&quot;&gt;</pre></blockquote><p>右辺和訳</p><blockquote><p>&lt;文字列 &quot;Content-&quot; で始まる RFC 822 頭欄&gt;</p></blockquote></figure><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="7" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[7]</anchor-end> 将来というか、 RFC 2045 の時点では既に幾つかの文書が定義してます。</p></section><section><h1>文脈</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="9" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[9]</anchor-end> 
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">MIMEヘッダー</anchor>は、
<code>multipart/<var>*</var></code> の<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">本体部分</anchor>のような純粋な
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">MIMEメッセージ</anchor>で使えます。</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="10" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[10]</anchor-end> 
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">MIMEヘッダー</anchor>は、
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">インターネットメール</anchor>用<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC 822メッセージ</anchor>のような、
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">MIME</anchor>
を使える<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">メッセージ</anchor>形式において、
当該メッセージ形式の専用の<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">ヘッダー</anchor>と混在して使えます。</p></section><section><h1>メモ</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="11" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[11]</anchor-end> <cite xml:lang="en">RFC 4249: Implementer-Friendly Specification of Message and MIME-Part Header Fields and Field Components</cite>, <time>2021-08-17T11:55:17.000Z</time> <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://www.rfc-editor.org/rfc/rfc4249.html#section-3.1.2.1.1">https://www.rfc-editor.org/rfc/rfc4249.html#section-3.1.2.1.1</anchor-external></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="3" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[3]</anchor-end> <cite xml:lang="en">RFC 6857 - Post-Delivery Message Downgrading for Internationalized Email Messages</cite>
( (<time>2013-07-24 10:18:10 +09:00</time> 版))
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://tools.ietf.org/html/rfc6857#section-4.1">http://tools.ietf.org/html/rfc6857#section-4.1</anchor-external></p></section></body></html>