/
467.txt
178 lines (129 loc) · 7.67 KB
/
467.txt
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
[36] [DFN[ZIP]] は、広く用いられている[[書庫形式]]の一種です。
[37]
[[Windows]]、[[Java]] などで採用され、[[書庫形式]]の[[事実上の標準]]となっています。
* 仕様書
[REFS[
- [15] [CITE[MIME Sniffing Standard]] ([TIME[2016-03-05 01:29:10 +09:00]] 版) <https://mimesniff.spec.whatwg.org/#zip-based-type>
]REFS]
* MIME 型
[33] [DFN[[RUBYB[ZIPを基にした型]@en[ZIP-based type]]]]は、
次のいずれかを満たすものです [SRC[>>15]]。
[FIG(list)[
- [34] [[構文解析可能MIME型]]であって、[F[部分型]]が [CODE[+zip]] で終わるもの
- [35] [[構文解析可能MIME型]]であって、[F[MIME型部分]]が
[CODE(MIME)@en[application/zip]] であるもの
]FIG]
;; [46] [[JSON]] 形式の一覧データファイルがあります。
[REFS[
- [47] [CITE@en[data-web-defs/mime-types.txt at master · manakai/data-web-defs]] ([TIME[2016-04-06 21:39:51 +09:00]] 版) <https://github.com/manakai/data-web-defs/blob/master/doc/mime-types.txt>
-- [48] ドキュメント: [CITE@en[data-web-defs/mime-types.json at master · manakai/data-web-defs]] ([TIME[2016-04-06 21:39:29 +09:00]] 版) <https://github.com/manakai/data-web-defs/blob/master/data/mime-types.json>
]REFS]
* [CODE(URI)@en[zip:]] URL scheme
[16] 構文: [CODE[zip:// zip-file-uri[! absolute-path] ]]
[17] 例:
-[SAMP(URI)[zip:http://somehost/downloads/somefile.zip]]
-[SAMP(URI)[jar:zip:outer.zip!/nested.jar!/somedir]]
-[SAMP(URI)[jar:zip:outer.zip!/nested.jar!/some%21dir]]
[18] [CITE[Commons VFS - Supported File Systems]] <http://jakarta.apache.org/commons/sandbox/vfs/filesystems.html#Zip%20and%20Jar>
* 応用
[14]
[FIG(list short)[
- [[JAR]]
- [[XPI]]
- [CODE[.crx]]
- [[Widgets]]
]FIG]
* メモ
[1] [CITE@en-gb[Application Note Archives - PKWARE, Inc.]] ([[Justin Nichols]] 著, [TIME[2008-11-30 18:37:52 +09:00]] 版) <http://www.pkware.com/support/application-note-archives>
[2] [CITE@en-US[Data.driven() » Widgets 1.0]] ([TIME[2008-11-30 18:37:15 +09:00]] 版) <http://datadriven.com.au/tag/widgets-10/>
[3] [CITE@en-US[Zip files and Encoding - I hate you. | Data.driven()]] ([TIME[2009-07-05 11:55:12 +09:00]] 版) <http://datadriven.com.au/2008/12/08/zip-files-and-encoding-i-hate-you/>
[4] [CITE@en['''['''dsdl-discuss''']''' Basic ZIP format is "public domain" from rjelliffe_at_allette.com.au on 2010-03-26 (dsdl-discuss.2010-03)]]
([[rjelliffe_at_allette.com.au (rjelliffe_at_allette.com.au)]] 著, [TIME[2010-03-27 00:03:02 +09:00]] 版)
<http://lists.dsdl.org/dsdl-discuss/2010-03/0024.html>
[5] [CITE@ja[ZIP (ファイルフォーマット) - Wikipedia]]
( ([TIME[2012-11-16 23:51:31 +09:00]] 版))
<http://ja.wikipedia.org/wiki/ZIP_(%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%83%95%E3%82%A9%E3%83%BC%E3%83%9E%E3%83%83%E3%83%88)>
[6] [CITE@en[Zip - WHATWG Wiki]]
( ([TIME[2013-08-31 03:47:21 +09:00]] 版))
<http://wiki.whatwg.org/wiki/Zip>
[7] ( ([TIME[2012-11-08 06:46:45 +09:00]] 版))
<http://www.itscj.ipsj.or.jp/sc34/open/1855.pdf>
[8] [CITE@en[RFC 6839 - Additional Media Type Structured Syntax Suffixes]]
( ([TIME[2013-06-28 00:23:48 +09:00]] 版))
<http://tools.ietf.org/html/rfc6839#section-3.6>
[9] [CITE[OASIS Open Document Format for Office Applications (OpenDocument) Version 1.2 - Part 3: Packages]]
([TIME[2011-09-29 13:00:00 +09:00]] 版)
<http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part3.html#a2_2_1OpenDocument_Package>
[10] ([TIME[2014-04-08 22:35:48 +09:00]] 版)
<https://www.khronos.org/files/collada_spec_1_5.pdf>
[FIG(quote)[
[FIGCAPTION[
[11] ([TIME[2011-07-16 05:29:35 +09:00]] 版)
<https://www.iana.org/assignments/media-types/application/zip>
]FIGCAPTION]
> This filetype is not recommended for normal use, since Content-Type
> information for the files contained within the archive are not known.
> Instead multipart/mixed should be used and each file should have it's
> own Content-Type.
]FIG]
[12] [CITE[Packaged Web Apps (Widgets) - Packaging and XML Configuration (Second Edition)]]
([TIME[2015-01-27 11:24:04 +09:00]] 版)
<http://w3c.github.io/packaged-webapps/packaging/>
[13] [CITE@en[RFC 6839 - Additional Media Type Structured Syntax Suffixes]] ([TIME[2013-06-28 00:23:48 +09:00]] 版) <http://tools.ietf.org/html/rfc6839#section-3.6>
[19] [CITE[IRC logs: freenode / #whatwg / 20131006]]
( ([TIME[2013-10-11 20:32:09 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20131006#l-537>
[20] [CITE[Remove zip archives (for now). · e5c1f60 · whatwg/fetch]]
( ([TIME[2013-10-30 06:19:44 +09:00]] 版))
<https://github.com/whatwg/fetch/commit/e5c1f60bce08f571b3da946560eeb3012776ab87>
[21] [CITE[packages.md]]
( ([TIME[2014-01-08 11:35:46 +09:00]] 版))
<https://gist.github.com/wycats/220039304b053b3eedd0>
[22] [CITE[IRC logs: freenode / #whatwg / 20140106]]
( ([TIME[2014-01-07 23:19:33 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20140106#l-347>
[23] [CITE@en[''''''[''''''dsdl-discuss'''''']'''''' Re: ISO/IEC 21320-1 - CD ballot from Jirka Kosek on 2013-09-13 (dsdl-discuss.2013-09)]]
( ([[Jirka Kosek (jirka_at_kosek.cz)]] 著, [TIME[2013-09-15 08:33:01 +09:00]] 版))
<http://lists.dsdl.org/dsdl-discuss/2013-09/0000.html>
[24] [CITE@en[Generic syntax]]
( ([[Anne van Kesteren]] 著, [TIME[2013-08-27 23:15:22 +09:00]] 版))
<http://lists.w3.org/Archives/Public/public-media-fragment/2013Aug/0001.html>
[25] [CITE@en[64286 – web archive save/view support (KDE/Konqueror-like .war, .zip, .tgz, .tar.gz, .tar.bz2, tb2, .tbz2, .jar)]]
([TIME[2015-05-07 23:03:12 +09:00]] 版)
<https://bugzilla.mozilla.org/show_bug.cgi?id=64286>
[26] [CITE[zip URLs]]
( ([TIME[2013-08-26 12:08:58 +09:00]] 版))
<https://gist.github.com/annevk/6174119>
[27] [CITE[''''''[''''''whatwg'''''']'''''' Zip archives as first-class citizens]]
( ([TIME[2013-08-28 13:32:53 +09:00]] 版))
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-August/040599.html>
[28] [CITE@en[MoPad: zipurls]]
( ([TIME[2013-08-29 14:06:47 +09:00]] 版))
<https://etherpad.mozilla.org/zipurls>
[29] [CITE[IRC logs: freenode / #whatwg / 20130823]]
( ([TIME[2013-08-26 12:15:51 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20130823#l-719>
[30] [CITE[IRC logs: freenode / #whatwg / 20130829]]
( ([TIME[2013-09-05 09:02:52 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20130829>
[31] [CITE@en[URL format for linking to resources inside ZIP files · Issue #137 · dataprotocols/dataprotocols]]
([TIME[2015-06-25 15:43:43 +09:00]] 版)
<https://github.com/dataprotocols/dataprotocols/issues/137>
[32] [CITE[技術/歴史/zip,gzip,zlib,bzip2 - Glamenv-Septzen.net]]
([TIME[2016-02-04 22:31:03 +09:00]] 版)
<http://www.glamenv-septzen.net/view/495>
[38] [CITE@en[Define a new MIME type model, parser, and serializer]]
([[annevk]]著, [TIME[2017-12-07 22:11:12 +09:00]])
<https://github.com/whatwg/mimesniff/commit/cc81ec48288944562c4554069da1d74a71e199fb>
[39] [CITE@en[Editorial: tweak MIME type group definitions]]
([[domenic]]著, [TIME[2018-02-06 06:35:09 +09:00]])
<https://github.com/whatwg/mimesniff/commit/452938939d1d88e3c74f59f41f14579249130437>
[40] [CITE@en[Editorial: tweak MIME type group definitions by domenic · Pull Request #59 · whatwg/mimesniff]]
([TIME[2018-02-17 18:28:01 +09:00]])
<https://github.com/whatwg/mimesniff/pull/59>
[41] [CITE@en[IETF HTML5 Meeting March 2009 - W3C Wiki]]
([TIME[2018-04-21 13:28:11 +09:00]])
<https://www.w3.org/wiki/IETF_HTML5_Meeting_March_2009>
[42] [CITE@ja[zipファイルをお送り頂いた場合の手数料について | 株式会社サムライズム]]
(2020年4月1日 に yusuke が投稿 [TIME[2020-04-03 13:08:22 +09:00]])
<https://samuraism.com/2020/04/01/11319>