MIME header

MIME ヘッダー

[8] MIMERFC 822メッセージ形式のヘッダー本体の構造を持っています。 ヘッダー部ではMIMEヘッダーが使えます。

MIME 頭欄 + α の一覧

[1] MIME 実体の頭欄として仕様・実装・使用例が見つかっているものの一覧: → インターネットメールヘッダーの一覧参照

[2] RedmineDate:MIME-Version:MIME 本体部分に含めるようです。

[4]

RFC 2045 における定義

[5] 3. MIME Header Fields

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:

和訳

MIME は MIME 実体の内容を説明するのに使う幾つかの新しい RFC 822 頭領域を定義します。これらの頭領域は少なくても次の二つの場面で 使うことが出来ます。

  1. As part of a regular RFC 822 message header.
  2. In a MIME body part header within a multipart construct.

和訳

  1. 普通の RFC 822 メッセージ頭の一部として。
  2. 多部分構造中の MIME 本文部分頭の中で。

The formal definition of these header fields is as follows:

和訳

これらの頭領域の正式な定義は次の通りです。

     entity-headers := [ content CRLF ]
                       [ encoding CRLF ]
                       [ id CRLF ]
                       [ description CRLF ]
                       *( MIME-extension-field CRLF )
>
     MIME-message-headers := entity-headers
                             fields
                             version CRLF
                             ; The ordering of the header
                             ; fields implied by this BNF
                             ; definition should be ignored.

コメント和訳

この BNF 定義に見られる頭領域の順序は無視するべきです。

     MIME-part-headers := entity-headers
                          [ fields ]
                          ; Any field not beginning with
                          ; "content-" can have no defined
                          ; meaning and may be ignored.
                          ; The ordering of the header
                          ; fields implied by this BNF
                          ; definition should be ignored.

コメント和訳

"content-" で始まらないいかなる領域も意味は定義され得ず、 無視して構いません。この BNF 定義に見られる頭領域の順序は無視するべきです。

The syntax of the various specific MIME header fields will be described in the following sections.

和訳

MIME 頭領域を規定する各種構文は次節以降で説明します。

[6] 9. Additional MIME Header Fields

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 "Content-" to allow such fields which appear in a message header to be distinguished from ordinary RFC 822 message header fields.

和訳

将来の文書が各種目的に追加の MIME 頭領域を定義することを選ぶかもしれません。 メッセージの内容を更に説明する新しい頭領域は文字列 "Content-" で始めて、メッセージ頭に現れたこの領域を普通の RFC 822 メッセージ頭領域と区別出来るようにするべきです。

     MIME-extension-field := <Any RFC 822 header field which
                              begins with the string
                              "Content-">

右辺和訳

<文字列 "Content-" で始まる RFC 822 頭欄>

[7] 将来というか、 RFC 2045 の時点では既に幾つかの文書が定義してます。

文脈

[9] MIMEヘッダーは、 multipart/*本体部分のような純粋な MIMEメッセージで使えます。

[10] MIMEヘッダーは、 インターネットメールRFC 822メッセージのような、 MIME を使えるメッセージ形式において、 当該メッセージ形式の専用のヘッダーと混在して使えます。

メモ

[11] RFC 4249: Implementer-Friendly Specification of Message and MIME-Part Header Fields and Field Components, https://www.rfc-editor.org/rfc/rfc4249.html#section-3.1.2.1.1

[3] RFC 6857 - Post-Delivery Message Downgrading for Internationalized Email Messages ( ( 版)) http://tools.ietf.org/html/rfc6857#section-4.1