1 |
[26] 存在が知られている媒体型:
|
2 |
,媒体型/亜型 ,説明 ,状態 ,出典
|
3 |
,[CODE(MIME)@en[[[app/gg]]]],[[Google Desktop]] [[gadget]],"非標準, [[IANA]] ''未''登録"
|
4 |
,[CODE(MIME)[[[x-application/*]]]] ,->[CODE(MIME)[application/[VAR[*]]]] ,非推奨
|
5 |
,[[application/*]] ,応用一般 ,[MIME]
|
6 |
,[CODE(MIME)@en[[[zz-application/zz-winassoc-tgz]]]] , ,"非標準, [[IANA]] ''未''登録"
|
7 |
,[[audio/*]] ,音声 ,[MIME]
|
8 |
,[[auth/sicily]] ,認証? ,"非標準, [[FrontPage]]"
|
9 |
,[CODE(MIME)@en[[[binary/octet-stream]]]] ,[[オクテット列]] ,"非標準, [[IANA]] ''未''登録 → [CODE(MIME)@en[[[application/octet-stream]]]]"
|
10 |
,[[chemical/*]] , ,非標準
|
11 |
,[[coloreal/embedded]] , ,非標準
|
12 |
,[[x-conference/x-cooltalk]] ,[[CoolTalk]] ,[Netscape]
|
13 |
,[CODE(MIME)[[[x-data/xact-error]]]]
|
14 |
,[[database/x-unknown]] , ,非標準
|
15 |
,[CODE(MIME)@en[[[dsmcc-[VAR[*]]/[VAR[*]]]]]] , ,"[[規格]], [[IANA]] ''未''登録"
|
16 |
,[CODE(MIME)@en[[[dsmcc-download/jpeg]]]] , ,"[[規格]], [[IANA]] ''未''登録"
|
17 |
,[CODE(MIME)@en[[[dsmcc-file/mpeg2-ps]]]] , ,"[[規格]], [[IANA]] ''未''登録"
|
18 |
,[CODE(MIME)@en[[[dsmcc-file/html]]]] , ,"[[規格]], [[IANA]] ''未''登録"
|
19 |
,[CODE(MIME)@en[[[dsmcc-stream/mpeg2-ts]]]] , ,"[[規格]], [[IANA]] ''未''登録"
|
20 |
,[[x-device/floppy]] ,[[FD]] ,[GNOME]
|
21 |
,[CODE(MIME)[[[x-directory/normal]]]]
|
22 |
,[CODE(MIME)[[[drawing/x-dwf]]]] ,[[DWF]] ,非標準
|
23 |
,[CODE(MIME)@en[[[example/[VAR[*]]]]]] ,[[例]] ,"[[IETF]] [[提案標準]], [[IANA]] 登録済"
|
24 |
,[[x-ferrum-head/*]]
|
25 |
,[[x-ferrum-menu/*]]
|
26 |
,[CODE(MIME)[[[font/[VAR[*]]]]]] ,[[フォント]] ,非標準 → [CODE(MIME)[[[application/[VAR[*]]]]]]
|
27 |
,[CODE(MIME)[[[x-form/x-openscape]]]]
|
28 |
,[CODE(MIME)@en[[[gadget/x-googlegadget]]]],,"非標準, [[IANA]] ''未''登録"
|
29 |
,[CODE(MIME)[[[graphics/x-inventor]]]] ,Open Inventor 3次元 scenes ,非標準
|
30 |
,[[image/*]] ,画像 ,[MIME]
|
31 |
,[CODE(MIME)@en[[[inode/[VAR[*]]]]]] ,[[ファイル・システム]][[物体]] ,"非標準, [[IANA]] ''未''登録" ,[freedesktop.org]
|
32 |
,[[interface/x-winamp-skin]] ,[[winamp]] [[skin]] ,非標準
|
33 |
,[CODE(MIME)[[[x-jigsaw/config]]]]
|
34 |
,[CODE(MIME)[[[x-kom/basic]]]] ,->[CODE(MIME)[[[text/x-kom-basic]]]] ,非推奨
|
35 |
,[CODE(MIME)[[[x-lml/x-lml]]]]
|
36 |
,[[matter-transport/*]] ,物質転送 ,[RFC1437]
|
37 |
,[[message/*]] ,メッセージ ,[MIME]
|
38 |
,[[mforge/x-mirage]] , ,非標準
|
39 |
,[[midi/mid]] ,[[MIDI]] ,非標準
|
40 |
,[CODE(MIME)[[[misc/ultravox]]]] , ,非標準 ,
|
41 |
,[[model/*]] ,三次元空間 ,[RFC2077]
|
42 |
,[CODE(MIME)[[[x-model/x-mesh]]]] , ,時代遅れ
|
43 |
,[[mozilla.application/cached-xul]] ,[[XUL]] [[cache]] ,[Mozilla]
|
44 |
,[[multipart/*]] ,多部分メッセージ ,[MIME]
|
45 |
,[CODE(MIME)[[[x-wap.multipart/vnd.uplanet.header-set]]]] , ,[WAP]
|
46 |
,[CODE(MIME)[[[x-music/x-midi]]]] ,[[MIDI]] ([[SMF]]) ,非推奨 ->[CODE(MIME)[[[audio/x-midi]]]] ,
|
47 |
,[[plugin/*]] , ,非標準
|
48 |
,[CODE(MIME)[[[x-pmaildx/x-mmctrl]]]]
|
49 |
,[[x-postpet/*]] ,PostPet
|
50 |
,[CODE(MIME)[[[x-script/x-wfxscript]]]]
|
51 |
,[CODE(MIME)[[[x-squid-internal/vary]]]]
|
52 |
,[CODE(MIME)[[[x-system/x-error]]]] , ,[Namazu]
|
53 |
,[[text/*]] ,文 ,[MIME]
|
54 |
,[CODE(MIME)[[[x-text-pc/ms-word]]]]
|
55 |
,[CODE(MIME)@en[[[unknown/unknown]]]] , ,非標準 → [CODE(MIME)@en[[[application/octet-stream]]]] ,[[HTML 5]]
|
56 |
,[CODE(MIME)[[[x-unknown/octet-stream]]]]
|
57 |
,[CODE(MIME)[[[x-unknown/x-unknown]]]]
|
58 |
,[[vector/*]] ,vector 画像 ->[CODE(MIME)[image/[VAR[*]]]] ,非標準
|
59 |
,[[video/*]] ,動画 ,[MIME]
|
60 |
,[[videotex/vemmi]] , ,非標準
|
61 |
,[CODE(MIME)[[[x-visa-ii/x-auth]]]]
|
62 |
,[[windows/*]] , ,非標準
|
63 |
,[CODE(MIME)[[[workbook/formulaone]]]] , ,非標準
|
64 |
,[[i-world/i-vrml]] ,->[CODE(MIME)[[[model/vrml]]]] ,非標準
|
65 |
,[[x-world/*]] ,->[CODE[model/[VAR[*]]]] ,非推奨
|
66 |
,[CODE(MIME)@en[[[www/mime]]]] ,[[MIME]] ,"非標準, 廃止 →[CODE(MIME)@en[[[message/rfc822]]]]" ,[[libwww]]
|
67 |
,[CODE(MIME)@en[[[www/unknown]]]] ,未知 (自動判別) ,非標準 ,[[libwww]]
|
68 |
,[CODE(MIME)[[[www/source]]]] , ,非標準 ,
|
69 |
,[[xgi/*]] , ,非標準
|
70 |
,[CODE(MIME)@en[[[xml/user-profile]]]],[[XUP]],"非標準, [[IANA]] ''未''登録"
|
71 |
|
72 |
[27] MIME の[CODE[[VAR[型]]/[VAR[亜型]]]]形式によらないもの :
|
73 |
,[[audio-file]] , ,非標準
|
74 |
,[[x-be2]] , ,非標準
|
75 |
,[[default]] , ,非標準
|
76 |
,[[mail-file]] , ,非標準
|
77 |
,[[postscript-file]] , ,非標準
|
78 |
,[[x-sun-attachment]] , ,非標準
|
79 |
,[[sun-deskset-message]] , ,非標準
|
80 |
|
81 |
- [30] [IANAREG] <http://www.iana.org/assignments/media-types/>
|
82 |
|
83 |
[[#comment]]
|
84 |
|
85 |
|
86 |
* 大雑把な書式を表す接尾辞
|
87 |
|
88 |
[33]
|
89 |
[[RFC 3023]] の [CODE(MIME)@en[+xml]]
|
90 |
以来、 [[XML]] と [[XML応用]]のような関係を示すために、
|
91 |
[[媒体型]]の末尾に [CODE(MIME)@en[+[VAR@ja[書式名]]]]
|
92 |
のような[[文字列]]をつけるようになりました。
|
93 |
|
94 |
この[[接尾辞]]は、 [[RFC 3023]] で [CODE(MIME)@en[+xml]]
|
95 |
が定義されているのと、 [[RFC 4288]]
|
96 |
で (将来同様な規定が他の書式に対してもなされることに対して)
|
97 |
注意が促されている他は、明確に定義されているわけではありません。
|
98 |
|
99 |
[CODE(MIME)@en[+]] という記号がこの慣習に従わずに使われることもあります。
|
100 |
|
101 |
[29]
|
102 |
,[[媒体型]] ,説明 ,状態 ,出典
|
103 |
,[CODE(MIME)[[[[VAR[*]]/[VAR[*]]+asn1]]]] ,[[ASN.1]] ,
|
104 |
,[CODE(MIME)[[[[VAR[*]]/[VAR[*]]+csv]]]] ,[[CSV]] ,
|
105 |
,[CODE(MIME)@en[[[[VAR[*]]/[VAR[*]]+fastinfoset]]]] ,[[Fast Infoset]]
|
106 |
,[CODE(MIME)@en[[[[VAR[*]]/[VAR[*]]+gzip]]]] ,[[GNU Zip]]
|
107 |
,[CODE(MIME)@en[[[[VAR[*]]/[VAR[*]]+json]]]] ,[[JSON]]
|
108 |
,[CODE(MIME)@en[[[[VAR[*]]/[VAR[*]]+n3]]]] ,[[N3]]
|
109 |
,[CODE(MIME)@en[[[[VAR[*]]/[VAR[*]]+ogg]]]] ,[[Ogg]] container format
|
110 |
,[CODE(MIME)@en[[[[VAR[*]]/[VAR[*]]+rcs]]]] ,[[RCS]]
|
111 |
,[CODE(MIME)@en[[[[VAR[*]]/[VAR[*]]+swcfg]]]] ,[[SuikaWikiConfig/2.0]] ,廃止
|
112 |
,[CODE(MIME)@en[[[[VAR[*]]/[VAR[*]]+wbxml]]]] ,[[WBXML]]
|
113 |
,[CODE(MIME)@en[[[[VAR[*]]/[VAR[*]]+xml]]]] ,[[XML]] ,[[IETF]] [[原案標準]] ,[[RFC 3023]]
|
114 |
,[CODE(MIME)@en[[[[VAR[*]]/[VAR[*]]+zip]]]] ,[[Zip]]
|
115 |
|
116 |
[34]
|
117 |
[CODE(MIME)@en[[[audio/amr-wb+]]]] というのが登録されています。
|
118 |
[CODE(MIME)@en[[[application/xhtml+voice+xml]]]] には物言いがついたのに。
|
119 |
([[名無しさん]] [WEAK[2006-07-02 03:17:54 +00:00]])
|
120 |
|
121 |
[35]
|
122 |
ちなみに巷で使われているものにはほかに [CODE(MIME)@en[[[application/x-xhtml+voice+xml]]]] なんてのもあります。
|
123 |
([[名無しさん]] [WEAK[2006-07-02 03:19:04 +00:00]])
|
124 |
|
125 |
[[#comment]]
|
126 |
|
127 |
|
128 |
* 媒体型の命名構造
|
129 |
|
130 |
[28] RFC 2045 では媒体型は型 type と亜型 subtype を "/" で組み合わせたものと
|
131 |
定義されています。例: text/plain
|
132 |
|
133 |
RFC 2048 は亜型に木 tree 構造を導入しました。木は枝を "." で組み合わせて
|
134 |
作ります。例: vnd.bigcompany.funnypictures
|
135 |
|
136 |
RFC 3023 は XML の媒体型には亜型の最後に "+xml" をつけることを推奨しています。
|
137 |
また、あまり喜ばしくないとしながらも、将来同様のメタ型を使う時にも
|
138 |
"+ebml" とか "+ebml+xml" とかすることを提案しています。
|
139 |
|
140 |
= media-type = type "/" subtype
|
141 |
= type = discrete-type / composite-type
|
142 |
= discrete-type = "text" / "image" / "audio" / "video" / "application" / extension-token
|
143 |
= composite-type = "message" / "multipart" / extension-token
|
144 |
= extension-token = ietf-token / x-token
|
145 |
= subtype = ( ietf-tree / vendor-tree / personal-tree / x-tree / extension-tree / x-token )
|
146 |
= ietf-tree = branch meta-format
|
147 |
= vendor-tree = "vnd." branch *("." branck) meta-format
|
148 |
= personal-tree = "prs." branch *("." branck) meta-format
|
149 |
= x-tree = "x." branch *("." branck) meta-format
|
150 |
= extension-tree = branch *("." branch) meta-format
|
151 |
= branch = 1*ttext
|
152 |
= meta-format = *("+" format)
|
153 |
= format = "xml" / extension-format
|
154 |
= extension-format = 1*( ttext / "." )
|
155 |
= ttext = ALPHA / DIGIT / "!" / "#" / "$" / "%" / "&" / "'" / "*" / "-" / "?" / "^" / "_" / "`" / "{" / "|" / "}" / "~"
|
156 |
|
157 |
[[#comment]]
|
158 |
|
159 |
|
160 |
* 仕様書
|
161 |
|
162 |
- RFC 1341 <urn:ietf:rfc:1341> (廃止)
|
163 |
- RFC 1437 <urn:ietf:rfc:1437> matter-transport/* 媒体型
|
164 |
- RFC 1521 <urn:ietf:rfc:1521> (廃止)
|
165 |
- RFC 1590 <urn:ietf:rfc:1590> 媒体型登録手続き (廃止・・されてない)
|
166 |
- RFC 2046 <urn:ietf:rfc:2046> 媒体型
|
167 |
- RFC 2048 <urn:ietf:rfc:2048>
|
168 |
- RFC 2077 <urn:ietf:rfc:2077> model/* 媒体型
|
169 |
- RFC 2376 <urn:ietf:rfc:2376> XML 媒体型 (廃止)
|
170 |
- RFC 3023 <urn:ietf:rfc:3023> XML 媒体型
|
171 |
- IANA 登録簿 <http://www.iana.org/assignments/media-types/>
|
172 |
[[#comment]]
|
173 |
|
174 |
|
175 |
** RFC 2046 2. Definition of a Top-Level Media Type
|
176 |
|
177 |
The definition of a top-level media type consists of:
|
178 |
|
179 |
上位媒体型の定義は次のものから構成されます。
|
180 |
|
181 |
[PRE[
|
182 |
(1) a name and a description of the type, including
|
183 |
criteria for whether a particular type would qualify
|
184 |
under that type,
|
185 |
]PRE]
|
186 |
|
187 |
(1) 型の名前と説明。特定の型をその型の下に置けるかどうかの適合基準
|
188 |
|
189 |
[PRE[
|
190 |
(2) the names and definitions of parameters, if any, which
|
191 |
are defined for all subtypes of that type (including
|
192 |
whether such parameters are required or optional),
|
193 |
]PRE]
|
194 |
|
195 |
(2) その型のすべての亜型用に定義するパラメーターがあればその名前と定義
|
196 |
(そのパラメーターが必須か省略可能かを含む)
|
197 |
|
198 |
[PRE[
|
199 |
(3) how a user agent and/or gateway should handle unknown
|
200 |
subtypes of this type,
|
201 |
]PRE]
|
202 |
|
203 |
(3) 利用者代理者や関門がその型の未知の亜型をどう取り扱うべきか
|
204 |
|
205 |
[PRE[
|
206 |
(4) general considerations on gatewaying entities of this
|
207 |
top-level type, if any, and
|
208 |
]PRE]
|
209 |
|
210 |
(4) 必要なら、この上位型の実体の関門通過に関しての考慮一般
|
211 |
|
212 |
[PRE[
|
213 |
(5) any restrictions on content-transfer-encodings for
|
214 |
entities of this top-level type.
|
215 |
]PRE]
|
216 |
|
217 |
(5) この上位型の実体の内容転送符号化の制限
|
218 |
|
219 |
|
220 |
** RFC 2046 3. Overview Of The Initial Top-Level Media Types
|
221 |
|
222 |
The five discrete top-level media types are:
|
223 |
|
224 |
5つの個々上位媒体型は次の通りです。
|
225 |
|
226 |
[PRE[
|
227 |
(1) text -- textual information. The subtype "plain" in
|
228 |
particular indicates plain text containing no
|
229 |
formatting commands or directives of any sort. Plain
|
230 |
text is intended to be displayed "as-is". No special
|
231 |
software is required to get the full meaning of the
|
232 |
text, aside from support for the indicated character
|
233 |
set. Other subtypes are to be used for enriched text in
|
234 |
forms where application software may enhance the
|
235 |
appearance of the text, but such software must not be
|
236 |
required in order to get the general idea of the
|
237 |
content. Possible subtypes of "text" thus include any
|
238 |
word processor format that can be read without
|
239 |
resorting to software that understands the format. In
|
240 |
particular, formats that employ embeddded binary
|
241 |
formatting information are not considered directly
|
242 |
readable. A very simple and portable subtype,
|
243 |
"richtext", was defined in RFC 1341, with a further
|
244 |
revision in RFC 1896 under the name "enriched".
|
245 |
]PRE]
|
246 |
|
247 |
(1) text —— 文字情報。亜型 "plain" は特に、いかなる類の書式化命令・指令
|
248 |
を含まない平文 (plain-text) を示します。平文は「そのまま」表示する
|
249 |
ことを意味します。文の完全な意味を得るのに、指定された文字集合への対応を
|
250 |
除いて特別なソフトウェアは必要ありません。他の亜型は応用ソフトウェアが
|
251 |
文の見た目をよくする裕福文に使われるかもしれませんが、内容の
|
252 |
一般的な着想を得るのにはこのようなソフトウェアは必須ではありません。
|
253 |
ですから "text" の亜型となりえるものにはその形式を理解するソフトウェア
|
254 |
無しに読むことが出来る言葉処理器 (ワード・プロセッサー) の形式を含みます。
|
255 |
特に、バイナリ書式付け情報を埋め込んだ形式は直接可読とは言えません。
|
256 |
とても単純で移植性ある亜型, "richtext" (裕福文) は RFC 1341
|
257 |
で定義されていましたが、 RFC 1896 で "enriched" (裕福化) という名前で
|
258 |
更に改訂されています。
|
259 |
|
260 |
訳注: embeddded は d が一個多い。
|
261 |
|
262 |
[PRE[
|
263 |
(2) image -- image data. "Image" requires a display device
|
264 |
(such as a graphical display, a graphics printer, or a
|
265 |
FAX machine) to view the information. An initial
|
266 |
subtype is defined for the widely-used image format
|
267 |
JPEG. . subtypes are defined for two widely-used image
|
268 |
formats, jpeg and gif.
|
269 |
]PRE]
|
270 |
|
271 |
(2) image ——画像データ。 "image" は情報を見るのに表示機器
|
272 |
(画像画面, 画像印刷機, FAX 機器など) が必要です。初期亜型としては
|
273 |
広く使われている画像形式 JPEG を定義します。。 亜型としては
|
274 |
2つの広く使われている画像形式, jpeg と gif を定義します。
|
275 |
(訳注: 誤植というか編集ミスというか。)
|
276 |
|
277 |
[PRE[
|
278 |
(3) audio -- audio data. "Audio" requires an audio output
|
279 |
device (such as a speaker or a telephone) to "display"
|
280 |
the contents. An initial subtype "basic" is defined in
|
281 |
this document.
|
282 |
]PRE]
|
283 |
|
284 |
(3) audio ——音声データ。 "audio" は音声出力機器 (スピーカーとか電話とか)
|
285 |
が内容を「表示」するのに必要です。初期亜型としては "basic"
|
286 |
をこの文書で定義します。
|
287 |
|
288 |
[PRE[
|
289 |
(4) video -- video data. "Video" requires the capability
|
290 |
to display moving images, typically including
|
291 |
specialized hardware and software. An initial subtype
|
292 |
"mpeg" is defined in this document.
|
293 |
]PRE]
|
294 |
|
295 |
(4) video 動画データ。 "video" は動く画像を表示する能力が必要です。
|
296 |
典型的には特別なハードウェアとソフトウェアを含みます。
|
297 |
初期亜型としては "mpeg" をこの文書で定義します。
|
298 |
|
299 |
[PRE[
|
300 |
(5) application -- some other kind of data, typically
|
301 |
either uninterpreted binary data or information to be
|
302 |
processed by an application. The subtype "octet-
|
303 |
stream" is to be used in the case of uninterpreted
|
304 |
binary data, in which case the simplest recommended
|
305 |
action is to offer to write the information into a file
|
306 |
for the user. The "PostScript" subtype is also defined
|
307 |
for the transport of PostScript material. Other
|
308 |
expected uses for "application" include spreadsheets,
|
309 |
data for mail-based scheduling systems, and languages
|
310 |
for "active" (computational) messaging, and word
|
311 |
processing formats that are not directly readable.
|
312 |
Note that security considerations may exist for some
|
313 |
types of application data, most notably
|
314 |
"application/PostScript" and any form of active
|
315 |
messaging. These issues are discussed later in this
|
316 |
document.
|
317 |
]PRE]
|
318 |
|
319 |
(5) appliaction 他の種類のデータ, 典型的には解釈出来ないバイナリ・データ
|
320 |
や応用により処理される情報です。亜型 "octet-stream" は解釈出来ない
|
321 |
バイナリ・データに使われ、この場合の最も簡単な推奨動作は情報を
|
322 |
ファイルに書き出すと利用者に申し出ることです。 "PostScript" 亜型も
|
323 |
PostScript 物体を転送するために定義します。他の "application"
|
324 |
で使うべきものには表計算, 基メイル予定系統, 「動的」(計算的)メッセージの言語,
|
325 |
直接可読でないワード・プロセッサーの形式があります。なお、
|
326 |
応用データの幾つかの型, とりわけ "application/PostScript" や動的
|
327 |
目セージの形式には安全性について考慮すべきことがあたりします。
|
328 |
この問題についてはこの文書の後の方で話します。
|
329 |
|
330 |
The two composite top-level media types are:
|
331 |
|
332 |
2つの合成上位媒体型は次の通りです。
|
333 |
|
334 |
[PRE[
|
335 |
(1) multipart -- data consisting of multiple entities of
|
336 |
independent data types. Four subtypes are initially
|
337 |
defined, including the basic "mixed" subtype specifying
|
338 |
a generic mixed set of parts, "alternative" for
|
339 |
representing the same data in multiple formats,
|
340 |
"parallel" for parts intended to be viewed
|
341 |
simultaneously, and "digest" for multipart entities in
|
342 |
which each part has a default type of "message/rfc822".
|
343 |
]PRE]
|
344 |
|
345 |
(1) multipart 複数の独立したデータ型の実体で構成されるデータ。
|
346 |
4つの亜型がはじめから定義されています。 "mixed" 亜型は
|
347 |
一般の混成の部分の集合を示し, "alternative" は同じデータを複数の形式で
|
348 |
表現していることを表し, "parallel" は同時に表示されることを意図した
|
349 |
部分を組み合わせたもので、 "digest" は各部分の既定値が "message/rfc822"
|
350 |
の多部分実体で構成されるものです。
|
351 |
|
352 |
[PRE[
|
353 |
(2) message -- an encapsulated message. A body of media
|
354 |
type "message" is itself all or a portion of some kind
|
355 |
of message object. Such objects may or may not in turn
|
356 |
contain other entities. The "rfc822" subtype is used
|
357 |
when the encapsulated content is itself an RFC 822
|
358 |
message. The "partial" subtype is defined for partial
|
359 |
RFC 822 messages, to permit the fragmented transmission
|
360 |
of bodies that are thought to be too large to be passed
|
361 |
through transport facilities in one piece. Another
|
362 |
subtype, "external-body", is defined for specifying
|
363 |
large bodies by reference to an external data source.
|
364 |
]PRE]
|
365 |
|
366 |
(2) message カプセル化メッセージ。媒体型 "message" の本文は
|
367 |
それ自体が何らかの種類のメッセージ物体の一部又は全部です。
|
368 |
この物体が今度は他の実体を含むかもしれませんし、含まないかもしれません。
|
369 |
"rfc822" 亜型はカプセル化内容が RFC 822 メッセージである時に使います。
|
370 |
"partial" 亜型は RFC 822 メッセージの一部用に定義するもので、
|
371 |
転送機能を一片でまとめて通過させるには大き過ぎると思われる
|
372 |
本文を断片化して送ることが出来ます。他の亜型, "external-body"
|
373 |
は外部データ源を使って大きな本文を示すのに定義します。
|
374 |
|
375 |
It should be noted that the list of media type values given here may
|
376 |
be augmented in time, via the mechanisms described above, and that
|
377 |
the set of subtypes is expected to grow substantially.
|
378 |
|
379 |
媒体型値は上述の機構でいつ増補されるかもしれませんし、
|
380 |
亜型の集合は本質的に増えて行くだろうことに注意して下さい。
|
381 |
|
382 |
|
383 |
** RFC 2046 6. Experimental Media Type Values
|
384 |
|
385 |
[PRE[
|
386 |
A media type value beginning with the characters "X-" is a private
|
387 |
value, to be used by consenting systems by mutual agreement. Any
|
388 |
format without a rigorous and public definition must be named with an
|
389 |
"X-" prefix, and publicly specified values shall never begin with
|
390 |
"X-". (Older versions of the widely used Andrew system use the
|
391 |
"X-BE2" name, so new systems should probably choose a different name.)
|
392 |
]PRE]
|
393 |
|
394 |
文字 "X-" から始まる媒体型値は私用値で、相互の同意により同意系統で
|
395 |
使われます。厳密に公的に定義されていない形式は "X-" 接頭辞つきで
|
396 |
名前をつけなければなりませんし、公的規定値は "X-" で始めてはいけません。
|
397 |
(広く使われている Andrew の系統の古い版は "X-BE2" 名を使っていましたので、
|
398 |
新しい系統は違う名前を選ぶのがよろしいでしょう。)
|
399 |
|
400 |
[PRE[
|
401 |
In general, the use of "X-" top-level types is strongly discouraged.
|
402 |
Implementors should invent subtypes of the existing types whenever
|
403 |
possible. In many cases, a subtype of "application" will be more
|
404 |
appropriate than a new top-level type.
|
405 |
]PRE]
|
406 |
|
407 |
通常、 "X-" を上位型に使うのは強く非推奨です。実装者は出来る限り
|
408 |
既存の型の亜型をでっち上げるべきです。多くの場合、 "application"
|
409 |
の亜型にするのが新しい上位型にするのより適切です。
|
410 |
|
411 |
|
412 |
** HTTP および派生プロトコルでの扱い
|
413 |
|
414 |
→[CODE(WikiPage)[[[.//HTTP]]]]
|
415 |
|
416 |
|
417 |
** RFC の部分の License
|
418 |
|
419 |
See [[RFCのライセンス]]
|
420 |
|
421 |
|
422 |
* 実装
|
423 |
|
424 |
[32]
|
425 |
[CITE[freedesktop.org - Standards/shared-mime-info-spec]]
|
426 |
<http://freedesktop.org/wiki/Standards_2fshared_2dmime_2dinfo_2dspec>
|
427 |
|
428 |
[[#comment]]
|
429 |
|
430 |
|
431 |
* メモ
|
432 |
|
433 |
- [13] >>12 禁止ではないわけだ。
|
434 |
実際 HTTP な世界では登録簿に無い媒体型が結構良く使われてます。
|
435 |
- [14] >>13 もしかしてこの注は解釈が間違ってる?
|
436 |
確かに未登録は非推奨とは言ってるけど、 "x-" なしのを未登録でとは言ってないな。
|
437 |
非推奨している「未登録媒体型」は x-媒体型のことを指してるのかもしれん。
|
438 |
- [16] [WEAK[2002-12-29 21:16]] ''[[名無しさん]]'': ''CVS log for gnue/gnue/common/src/GMimeTypes.py'' <http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/GMimeTypes.py>
|
439 |
- [18] [[RFC1927]] Suggested Additional MIME Types for Associating Documents も幾つかの型を提案しています。
|
440 |
- [19] ''How to Register a Media Type with IANA (for the IETF tree)'' <http://www.w3.org/2002/06/registering-mediatype> [[W3C]] の規格で使う媒体型を登録するための手引き。なお、 W3C の媒体型も ietf-tree に登録されます。
|
441 |
- [20] ''Appendix A: MIME Type Detection in Internet Explorer'' <http://msdn.microsoft.com/workshop/networking/moniker/overview/appendix_a.asp>: [[M$]] の [[HTTP]] における媒体型のへたれ実装について。
|
442 |
- [22] [[Windoze]] では[[拡張子]]と媒体型の関連付けは、 [CODE(reg)[[[HKCR]]\.[VAR[拡張子]]\"Content Type"([[REG_SZ]])]] に値を設定することで行えます。
|
443 |
- [23] [[Win98]]/[[WinNT4.0]] まででは、 [[explorer]] のフォルダの設定画面の[CODE[ファイル タイプ]][[タブ]]から設定できましたが、 [[WinMe]] から初心者?にやさしい(つもりの)設定画面に変わって、媒体型の編集はまったくできなくなりました。
|
444 |
- [24] >>23 初心者が関連付けの設定なんかいじるのか謎ですがね。というかそもそも初心者がいじらないといけないような設計が間違ってるのであって。
|
445 |
- [25] [WEAK[2003-10-26 01:43:11 +00:00]] ''[[名無しさん]]'': '''' <http://proxy1.rz.uni-karlsruhe.de/stats/20020628.html>'''
|
446 |
|
447 |
[31]
|
448 |
[CITE[A question on Media Type Registrations]] <http://ietfreport.isoc.org/idref/draft-iesg-media-type/>
|
449 |
|
450 |
非 [[MIME]] 型プロトコル (具体的には [[RTP]]) で媒体型を使いたいけど
|
451 |
[[MIME]] のしがらみがうざいというのが最近 [[ietf-types]]
|
452 |
等々で議論になってます。
|
453 |
([[名無しさん]] [sage] [WEAK[2005-06-09 00:47:27 +00:00]])
|
454 |
|
455 |
[36]
|
456 |
[[RFC 2046]] の6章の
|
457 |
|
458 |
> Any format without a rigorous and public definition must be named with an "X-" prefix, and publicly specified values shall never begin with "X-".
|
459 |
|
460 |
この規定(?)に従うと、 [[RFC 2046]] で定義されている[[媒体型]]はみんな [CODE(MIME)@en[[[X-]]]] ではじめなければならなくなってしまうw
|
461 |
([[名無しさん]])
|
462 |
|
463 |
[37]
|
464 |
>>36 ところが [CODE(MIME)@en[[[X-]]]] にしてしまうと後者の要件に違反してしまうw
|
465 |
([[名無しさん]])
|
466 |
|