friendly_mime 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/Gemfile ADDED
@@ -0,0 +1,12 @@
1
+ source "http://rubygems.org"
2
+ # Add dependencies required to use your gem here.
3
+ # Example:
4
+ # gem "activesupport", ">= 2.3.5"
5
+
6
+ # Add dependencies to develop your gem here.
7
+ # Include everything needed to run rake, tests, features, etc.
8
+ group :development do
9
+ gem "rdoc", "~> 3.12"
10
+ gem "bundler", "~> 1.0"
11
+ gem "jeweler", "~> 1.8.7"
12
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,53 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ addressable (2.3.5)
5
+ builder (3.2.2)
6
+ faraday (0.8.8)
7
+ multipart-post (~> 1.2.0)
8
+ git (1.2.6)
9
+ github_api (0.10.1)
10
+ addressable
11
+ faraday (~> 0.8.1)
12
+ hashie (>= 1.2)
13
+ multi_json (~> 1.4)
14
+ nokogiri (~> 1.5.2)
15
+ oauth2
16
+ hashie (2.0.5)
17
+ highline (1.6.19)
18
+ httpauth (0.2.0)
19
+ jeweler (1.8.7)
20
+ builder
21
+ bundler (~> 1.0)
22
+ git (>= 1.2.5)
23
+ github_api (= 0.10.1)
24
+ highline (>= 1.6.15)
25
+ nokogiri (= 1.5.10)
26
+ rake
27
+ rdoc
28
+ json (1.8.0)
29
+ jwt (0.1.8)
30
+ multi_json (>= 1.5)
31
+ multi_json (1.8.0)
32
+ multi_xml (0.5.5)
33
+ multipart-post (1.2.0)
34
+ nokogiri (1.5.10)
35
+ oauth2 (0.9.2)
36
+ faraday (~> 0.8)
37
+ httpauth (~> 0.2)
38
+ jwt (~> 0.1.4)
39
+ multi_json (~> 1.0)
40
+ multi_xml (~> 0.5)
41
+ rack (~> 1.2)
42
+ rack (1.5.2)
43
+ rake (10.1.0)
44
+ rdoc (3.12.2)
45
+ json (~> 1.4)
46
+
47
+ PLATFORMS
48
+ ruby
49
+
50
+ DEPENDENCIES
51
+ bundler (~> 1.0)
52
+ jeweler (~> 1.8.7)
53
+ rdoc (~> 3.12)
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2013 Łukasz Śliwa
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,29 @@
1
+ = Friendly MIME
2
+
3
+ Friendly::MIME provides possibility to show friendly description of a document by the given MIME type
4
+
5
+ ```ruby
6
+ > Friendly::MIME.load
7
+
8
+ > Friendly::MIME.find 'application/zip'
9
+ => "Zip Archive"
10
+
11
+ > Friendly::MIME.find '.zip'
12
+ => "Zip Archive"
13
+ ```
14
+
15
+ == Contributing to friendly_mime
16
+
17
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
18
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
19
+ * Fork the project.
20
+ * Start a feature/bugfix branch.
21
+ * Commit and push until you are happy with your contribution.
22
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
23
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
24
+
25
+ == Copyright
26
+
27
+ Copyright (c) 2013 Łukasz Śliwa. See LICENSE.txt for
28
+ further details.
29
+
data/Rakefile ADDED
@@ -0,0 +1,27 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ require './lib/friendly_mime.rb'
16
+ Jeweler::Tasks.new do |gem|
17
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
18
+ gem.name = "friendly_mime"
19
+ gem.homepage = "http://github.com/lukaszsliwa/friendly_mime"
20
+ gem.license = "MIT"
21
+ gem.summary = %Q{Friendly::MIME gem provides possibility to show friendly description}
22
+ gem.description = %Q{Friendly::MIME gem provides possibility to show friendly description of a document by the given MIME type.}
23
+ gem.email = "lukasz.sliwa@apptamers.com"
24
+ gem.authors = ["Łukasz Śliwa"]
25
+ gem.version = Friendly::MIME::VERSION
26
+ # dependencies defined in Gemfile
27
+ end
@@ -0,0 +1,56 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "friendly_mime"
8
+ s.version = "1.0.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["\u{141}ukasz \u{15a}liwa"]
12
+ s.date = "2013-09-23"
13
+ s.description = "Friendly::MIME gem provides possibility to show friendly description of a document by the given MIME type."
14
+ s.email = "lukasz.sliwa@apptamers.com"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ "Gemfile",
22
+ "Gemfile.lock",
23
+ "LICENSE.txt",
24
+ "README.rdoc",
25
+ "Rakefile",
26
+ "friendly_mime.gemspec",
27
+ "lib/friendly_mime.rb",
28
+ "mimes.csv",
29
+ "test/helper.rb",
30
+ "test/test_friendly_mime.rb"
31
+ ]
32
+ s.homepage = "http://github.com/lukaszsliwa/friendly_mime"
33
+ s.licenses = ["MIT"]
34
+ s.require_paths = ["lib"]
35
+ s.rubygems_version = "1.8.25"
36
+ s.summary = "Friendly::MIME gem provides possibility to show friendly description"
37
+
38
+ if s.respond_to? :specification_version then
39
+ s.specification_version = 3
40
+
41
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
42
+ s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
43
+ s.add_development_dependency(%q<bundler>, ["~> 1.0"])
44
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.7"])
45
+ else
46
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
47
+ s.add_dependency(%q<bundler>, ["~> 1.0"])
48
+ s.add_dependency(%q<jeweler>, ["~> 1.8.7"])
49
+ end
50
+ else
51
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
52
+ s.add_dependency(%q<bundler>, ["~> 1.0"])
53
+ s.add_dependency(%q<jeweler>, ["~> 1.8.7"])
54
+ end
55
+ end
56
+
@@ -0,0 +1,34 @@
1
+ require 'csv'
2
+
3
+ module Friendly
4
+ class MIME
5
+ VERSION = '1.0.0'
6
+
7
+ class << self
8
+ attr_accessor :mimes
9
+
10
+ # Loads all mime names and extensions to a memory
11
+ #
12
+ def load
13
+ self.mimes = {}
14
+ CSV.foreach(File.expand_path(File.join(File.dirname(__FILE__), '..', 'mimes.csv')), :headers => false) do |row|
15
+ self.mimes[row[0]] = row[1]
16
+ self.mimes[row[2]] = row[1]
17
+ end
18
+ end
19
+
20
+ # Finds MIME friendly name by extension or MIME type
21
+ #
22
+ # @example
23
+ # Friendly::MIME.find 'application/zip'
24
+ #
25
+ # or
26
+ #
27
+ # Friendly::MIME.find '.zip'
28
+ #
29
+ def find(mime)
30
+ self.mimes[mime]
31
+ end
32
+ end
33
+ end
34
+ end
data/mimes.csv ADDED
@@ -0,0 +1,684 @@
1
+ application/vnd.hzn-3d-crossword,3D Crossword Plugin,.x3d
2
+ video/3gpp,3GP,.3gp
3
+ video/3gpp2,3GP2,.3g2
4
+ application/vnd.mseq,3GPP MSEQ File,.mseq
5
+ application/vnd.3m.post-it-notes,3M Post It Notes,.pwn
6
+ application/vnd.3gpp.pic-bw-large,3rd Generation Partnership Project - Pic Large,.plb
7
+ application/vnd.3gpp.pic-bw-small,3rd Generation Partnership Project - Pic Small,.psb
8
+ application/vnd.3gpp.pic-bw-var,3rd Generation Partnership Project - Pic Var,.pvb
9
+ application/vnd.3gpp2.tcap,3rd Generation Partnership Project - Transaction Capabilities Application Part,.tcap
10
+ application/x-7z-compressed,7-Zip,.7z
11
+ application/x-abiword,AbiWord,.abw
12
+ application/x-ace-compressed,Ace Archive,.ace
13
+ application/vnd.americandynamics.acc,Active Content Compression,.acc
14
+ application/vnd.acucobol,ACU Cobol,.acu
15
+ application/vnd.acucorp,ACU Cobol,.atc
16
+ audio/adpcm,Adaptive differential pulse-code modulation,.adp
17
+ application/x-authorware-bin,Adobe (Macropedia) Authorware - Binary File,.aab
18
+ application/x-authorware-map,Adobe (Macropedia) Authorware - Map,.aam
19
+ application/x-authorware-seg,Adobe (Macropedia) Authorware - Segment File,.aas
20
+ application/vnd.adobe.air-application-installer-package+zip,Adobe AIR Application,.air
21
+ application/x-shockwave-flash,Adobe Flash,.swf
22
+ application/vnd.adobe.fxp,Adobe Flex Project,.fxp
23
+ application/pdf,Adobe Portable Document Format,.pdf
24
+ application/vnd.cups-ppd,Adobe PostScript Printer Description File Format,.ppd
25
+ application/x-director,Adobe Shockwave Player,.dir
26
+ application/vnd.adobe.xdp+xml,Adobe XML Data Package,.xdp
27
+ application/vnd.adobe.xfdf,Adobe XML Forms Data Format,.xfdf
28
+ audio/x-aac,Advanced Audio Coding (AAC),.aac
29
+ application/vnd.ahead.space,Ahead AIR Application,.ahead
30
+ application/vnd.airzip.filesecure.azf,AirZip FileSECURE,.azf
31
+ application/vnd.airzip.filesecure.azs,AirZip FileSECURE,.azs
32
+ application/vnd.amazon.ebook,Amazon Kindle eBook format,.azw
33
+ application/vnd.amiga.ami,AmigaDE,.ami
34
+ application/andrew-inset,Andrew Toolkit,N/A
35
+ application/vnd.android.package-archive,Android Package Archive,.apk
36
+ application/vnd.anser-web-certificate-issue-initiation,ANSER-WEB Terminal Client - Certificate Issue,.cii
37
+ application/vnd.anser-web-funds-transfer-initiation,ANSER-WEB Terminal Client - Web Funds Transfer,.fti
38
+ application/vnd.antix.game-component,Antix Game Player,.atx
39
+ application/vnd.apple.installer+xml,Apple Installer Package,.mpkg
40
+ application/applixware,Applixware,.aw
41
+ application/vnd.hhe.lesson-player,Archipelago Lesson Player,.les
42
+ application/vnd.aristanetworks.swi,Arista Networks Software Image,.swi
43
+ text/x-asm,Assembler Source File,.s
44
+ application/atomcat+xml,Atom Publishing Protocol,.atomcat
45
+ application/atomsvc+xml,Atom Publishing Protocol Service Document,.atomsvc
46
+ application/atom+xml,Atom Syndication Format,".atom, .xml"
47
+ application/pkix-attr-cert,Attribute Certificate,.ac
48
+ audio/x-aiff,Audio Interchange File Format,.aif
49
+ video/x-msvideo,Audio Video Interleave (AVI),.avi
50
+ application/vnd.audiograph,Audiograph,.aep
51
+ image/vnd.dxf,AutoCAD DXF,.dxf
52
+ model/vnd.dwf,Autodesk Design Web Format (DWF),.dwf
53
+ text/plain-bas,BAS Partitur Format,.par
54
+ application/x-bcpio,Binary CPIO Archive,.bcpio
55
+ application/octet-stream,Binary Data,.bin
56
+ image/bmp,Bitmap Image File,.bmp
57
+ application/x-bittorrent,BitTorrent,.torrent
58
+ application/vnd.rim.cod,Blackberry COD File,.cod
59
+ application/vnd.blueice.multipass,Blueice Research Multipass,.mpm
60
+ application/vnd.bmi,BMI Drawing Data Interchange,.bmi
61
+ application/x-sh,Bourne Shell Script,.sh
62
+ image/prs.btif,BTIF,.btif
63
+ application/vnd.businessobjects,BusinessObjects,.rep
64
+ application/x-bzip,Bzip Archive,.bz
65
+ application/x-bzip2,Bzip2 Archive,.bz2
66
+ application/x-csh,C Shell Script,.csh
67
+ text/x-c,C Source File,.c
68
+ application/vnd.chemdraw+xml,CambridgeSoft Chem Draw,.cdxml
69
+ text/css,Cascading Style Sheets (CSS),.css
70
+ chemical/x-cdx,ChemDraw eXchange file,.cdx
71
+ chemical/x-cml,Chemical Markup Language,.cml
72
+ chemical/x-csml,Chemical Style Markup Language,.csml
73
+ application/vnd.contact.cmsg,CIM Database,.cdbcmsg
74
+ application/vnd.claymore,Claymore Data Files,.cla
75
+ application/vnd.clonk.c4group,Clonk Game,.c4g
76
+ image/vnd.dvb.subtitle,Close Captioning - Subtitle,.sub
77
+ application/cdmi-capability,Cloud Data Management Interface (CDMI) - Capability,.cdmia
78
+ application/cdmi-container,Cloud Data Management Interface (CDMI) - Contaimer,.cdmic
79
+ application/cdmi-domain,Cloud Data Management Interface (CDMI) - Domain,.cdmid
80
+ application/cdmi-object,Cloud Data Management Interface (CDMI) - Object,.cdmio
81
+ application/cdmi-queue,Cloud Data Management Interface (CDMI) - Queue,.cdmiq
82
+ application/vnd.cluetrust.cartomobile-config,ClueTrust CartoMobile - Config,.c11amc
83
+ application/vnd.cluetrust.cartomobile-config-pkg,ClueTrust CartoMobile - Config Package,.c11amz
84
+ image/x-cmu-raster,CMU Image,.ras
85
+ model/vnd.collada+xml,COLLADA,.dae
86
+ text/csv,Comma-Seperated Values,.csv
87
+ application/mac-compactpro,Compact Pro,.cpt
88
+ application/vnd.wap.wmlc,Compiled Wireless Markup Language (WMLC),.wmlc
89
+ image/cgm,Computer Graphics Metafile,.cgm
90
+ x-conference/x-cooltalk,CoolTalk,.ice
91
+ image/x-cmx,Corel Metafile Exchange (CMX),.cmx
92
+ application/vnd.xara,CorelXARA,.xar
93
+ application/vnd.cosmocaller,CosmoCaller,.cmc
94
+ application/x-cpio,CPIO Archive,.cpio
95
+ application/vnd.crick.clicker,CrickSoftware - Clicker,.clkx
96
+ application/vnd.crick.clicker.keyboard,CrickSoftware - Clicker - Keyboard,.clkk
97
+ application/vnd.crick.clicker.palette,CrickSoftware - Clicker - Palette,.clkp
98
+ application/vnd.crick.clicker.template,CrickSoftware - Clicker - Template,.clkt
99
+ application/vnd.crick.clicker.wordbank,CrickSoftware - Clicker - Wordbank,.clkw
100
+ application/vnd.criticaltools.wbs+xml,Critical Tools - PERT Chart EXPERT,.wbs
101
+ application/vnd.rig.cryptonote,CryptoNote,.cryptonote
102
+ chemical/x-cif,Crystallographic Interchange Format,.cif
103
+ chemical/x-cmdf,CrystalMaker Data Format,.cmdf
104
+ application/cu-seeme,CU-SeeMe,.cu
105
+ application/prs.cww,CU-Writer,.cww
106
+ text/vnd.curl,Curl - Applet,.curl
107
+ text/vnd.curl.dcurl,Curl - Detached Applet,.dcurl
108
+ text/vnd.curl.mcurl,Curl - Manifest File,.mcurl
109
+ text/vnd.curl.scurl,Curl - Source Code,.scurl
110
+ application/vnd.curl.car,CURL Applet,.car
111
+ application/vnd.curl.pcurl,CURL Applet,.pcurl
112
+ application/vnd.yellowriver-custom-menu,CustomMenu,.cmp
113
+ application/dssc+der,Data Structure for the Security Suitability of Cryptographic Algorithms,.dssc
114
+ application/dssc+xml,Data Structure for the Security Suitability of Cryptographic Algorithms,.xdssc
115
+ application/x-debian-package,Debian Package,.deb
116
+ audio/vnd.dece.audio,DECE Audio,.uva
117
+ image/vnd.dece.graphic,DECE Graphic,.uvi
118
+ video/vnd.dece.hd,DECE High Definition Video,.uvh
119
+ video/vnd.dece.mobile,DECE Mobile Video,.uvm
120
+ video/vnd.uvvu.mp4,DECE MP4,.uvu
121
+ video/vnd.dece.pd,DECE PD Video,.uvp
122
+ video/vnd.dece.sd,DECE SD Video,.uvs
123
+ video/vnd.dece.video,DECE Video,.uvv
124
+ application/x-dvi,Device Independent File Format (DVI),.dvi
125
+ application/vnd.fdsn.seed,Digital Siesmograph Networks - SEED Datafiles,.seed
126
+ application/x-dtbook+xml,Digital Talking Book,.dtb
127
+ application/x-dtbresource+xml,Digital Talking Book - Resource File,.res
128
+ application/vnd.dvb.ait,Digital Video Broadcasting,.ait
129
+ application/vnd.dvb.service,Digital Video Broadcasting,.svc
130
+ audio/vnd.digital-winds,Digital Winds Music,.eol
131
+ image/vnd.djvu,DjVu,.djvu
132
+ application/xml-dtd,Document Type Definition,.dtd
133
+ application/vnd.dolby.mlp,Dolby Meridian Lossless Packing,.mlp
134
+ application/x-doom,Doom Video Game,.wad
135
+ application/vnd.dpgraph,DPGraph,.dpg
136
+ audio/vnd.dra,DRA Audio,.dra
137
+ application/vnd.dreamfactory,DreamFactory,.dfac
138
+ audio/vnd.dts,DTS Audio,.dts
139
+ audio/vnd.dts.hd,DTS High Definition Audio,.dtshd
140
+ image/vnd.dwg,DWG Drawing,.dwg
141
+ application/vnd.dynageo,DynaGeo,.geo
142
+ application/ecmascript,ECMAScript,.es
143
+ application/vnd.ecowin.chart,EcoWin Chart,.mag
144
+ image/vnd.fujixerox.edmics-mmr,EDMICS 2000,.mmr
145
+ image/vnd.fujixerox.edmics-rlc,EDMICS 2000,.rlc
146
+ application/exi,Efficient XML Interchange,.exi
147
+ application/vnd.proteus.magazine,EFI Proteus,.mgz
148
+ application/epub+zip,Electronic Publication,.epub
149
+ message/rfc822,Email Message,.eml
150
+ application/vnd.enliven,Enliven Viewer,.nml
151
+ application/vnd.is-xpr,Express by Infoseek,.xpr
152
+ image/vnd.xiff,eXtended Image File Format (XIFF),.xif
153
+ application/vnd.xfdl,Extensible Forms Description Language,.xfdl
154
+ application/emma+xml,Extensible MultiModal Annotation,.emma
155
+ application/vnd.ezpix-album,EZPix Secure Photo Album,.ez2
156
+ application/vnd.ezpix-package,EZPix Secure Photo Album,.ez3
157
+ image/vnd.fst,FAST Search & Transfer ASA,.fst
158
+ video/vnd.fvt,FAST Search & Transfer ASA,.fvt
159
+ image/vnd.fastbidsheet,FastBid Sheet,.fbs
160
+ application/vnd.denovo.fcselayout-link,FCS Express Layout Link,.fe_launch
161
+ video/x-f4v,Flash Video,.f4v
162
+ video/x-flv,Flash Video,.flv
163
+ image/vnd.fpx,FlashPix,.fpx
164
+ image/vnd.net-fpx,FlashPix,.npx
165
+ text/vnd.fmi.flexstor,FLEXSTOR,.flx
166
+ video/x-fli,FLI/FLC Animation Format,.fli
167
+ application/vnd.fluxtime.clip,FluxTime Clip,.ftc
168
+ application/vnd.fdf,Forms Data Format,.fdf
169
+ text/x-fortran,Fortran Source File,.f
170
+ application/vnd.mif,FrameMaker Interchange Format,.mif
171
+ application/vnd.framemaker,FrameMaker Normal Format,.fm
172
+ image/x-freehand,FreeHand MX,.fh
173
+ application/vnd.fsc.weblaunch,Friendly Software Corporation,.fsc
174
+ application/vnd.frogans.fnc,Frogans Player,.fnc
175
+ application/vnd.frogans.ltf,Frogans Player,.ltf
176
+ application/vnd.fujixerox.ddd,Fujitsu - Xerox 2D CAD Data,.ddd
177
+ application/vnd.fujixerox.docuworks,Fujitsu - Xerox DocuWorks,.xdw
178
+ application/vnd.fujixerox.docuworks.binder,Fujitsu - Xerox DocuWorks Binder,.xbd
179
+ application/vnd.fujitsu.oasys,Fujitsu Oasys,.oas
180
+ application/vnd.fujitsu.oasys2,Fujitsu Oasys,.oa2
181
+ application/vnd.fujitsu.oasys3,Fujitsu Oasys,.oa3
182
+ application/vnd.fujitsu.oasysgp,Fujitsu Oasys,.fg5
183
+ application/vnd.fujitsu.oasysprs,Fujitsu Oasys,.bh2
184
+ application/x-futuresplash,FutureSplash Animator,.spl
185
+ application/vnd.fuzzysheet,FuzzySheet,.fzs
186
+ image/g3fax,G3 Fax Image,.g3
187
+ application/vnd.gmx,GameMaker ActiveX,.gmx
188
+ model/vnd.gtw,Gen-Trix Studio,.gtw
189
+ application/vnd.genomatix.tuxedo,Genomatix Tuxedo Framework,.txd
190
+ application/vnd.geogebra.file,GeoGebra,.ggb
191
+ application/vnd.geogebra.tool,GeoGebra,.ggt
192
+ model/vnd.gdl,Geometric Description Language (GDL),.gdl
193
+ application/vnd.geometry-explorer,GeoMetry Explorer,.gex
194
+ application/vnd.geonext,GEONExT and JSXGraph,.gxt
195
+ application/vnd.geoplan,GeoplanW,.g2w
196
+ application/vnd.geospace,GeospacW,.g3w
197
+ application/x-font-ghostscript,Ghostscript Font,.gsf
198
+ application/x-font-bdf,Glyph Bitmap Distribution Format,.bdf
199
+ application/x-gtar,GNU Tar Files,.gtar
200
+ application/x-texinfo,GNU Texinfo Document,.texinfo
201
+ application/x-gnumeric,Gnumeric,.gnumeric
202
+ application/vnd.google-earth.kml+xml,Google Earth - KML,.kml
203
+ application/vnd.google-earth.kmz,Google Earth - Zipped KML,.kmz
204
+ application/vnd.grafeq,GrafEq,.gqf
205
+ image/gif,Graphics Interchange Format,.gif
206
+ text/vnd.graphviz,Graphviz,.gv
207
+ application/vnd.groove-account,Groove - Account,.gac
208
+ application/vnd.groove-help,Groove - Help,.ghf
209
+ application/vnd.groove-identity-message,Groove - Identity Message,.gim
210
+ application/vnd.groove-injector,Groove - Injector,.grv
211
+ application/vnd.groove-tool-message,Groove - Tool Message,.gtm
212
+ application/vnd.groove-tool-template,Groove - Tool Template,.tpl
213
+ application/vnd.groove-vcard,Groove - Vcard,.vcg
214
+ video/h261,H.261,.h261
215
+ video/h263,H.263,.h263
216
+ video/h264,H.264,.h264
217
+ application/vnd.hp-hpid,Hewlett Packard Instant Delivery,.hpid
218
+ application/vnd.hp-hps,Hewlett-Packard's WebPrintSmart,.hps
219
+ application/x-hdf,Hierarchical Data Format,.hdf
220
+ audio/vnd.rip,Hit'n'Mix,.rip
221
+ application/vnd.hbci,Homebanking Computer Interface (HBCI),.hbci
222
+ application/vnd.hp-jlyt,HP Indigo Digital Press - Job Layout Languate,.jlt
223
+ application/vnd.hp-pcl,HP Printer Command Language,.pcl
224
+ application/vnd.hp-hpgl,HP-GL/2 and HP RTL,.hpgl
225
+ application/vnd.yamaha.hv-script,HV Script,.hvs
226
+ application/vnd.yamaha.hv-dic,HV Voice Dictionary,.hvd
227
+ application/vnd.yamaha.hv-voice,HV Voice Parameter,.hvp
228
+ application/vnd.hydrostatix.sof-data,Hydrostatix Master Suite,.sfd-hdstx
229
+ application/hyperstudio,Hyperstudio,.stk
230
+ application/vnd.hal+xml,Hypertext Application Language,.hal
231
+ text/html,HyperText Markup Language (HTML),.html
232
+ application/vnd.ibm.rights-management,IBM DB2 Rights Manager,.irm
233
+ application/vnd.ibm.secure-container,IBM Electronic Media Management System - Secure Container,.sc
234
+ text/calendar,iCalendar,.ics
235
+ application/vnd.iccprofile,ICC profile,.icc
236
+ image/x-icon,Icon Image,.ico
237
+ application/vnd.igloader,igLoader,.igl
238
+ image/ief,Image Exchange Format,.ief
239
+ application/vnd.immervision-ivp,ImmerVision PURE Players,.ivp
240
+ application/vnd.immervision-ivu,ImmerVision PURE Players,.ivu
241
+ application/reginfo+xml,IMS Networks,.rif
242
+ text/vnd.in3d.3dml,In3D - 3DML,.3dml
243
+ text/vnd.in3d.spot,In3D - 3DML,.spot
244
+ model/iges,Initial Graphics Exchange Specification (IGES),.igs
245
+ application/vnd.intergeo,Interactive Geometry Software,.i2g
246
+ application/vnd.cinderella,Interactive Geometry Software Cinderella,.cdy
247
+ application/vnd.intercon.formnet,Intercon FormNet,.xpw
248
+ application/vnd.isac.fcs,International Society for Advancement of Cytometry,.fcs
249
+ application/ipfix,Internet Protocol Flow Information Export,.ipfix
250
+ application/pkix-cert,Internet Public Key Infrastructure - Certificate,.cer
251
+ application/pkixcmp,Internet Public Key Infrastructure - Certificate Management Protocole,.pki
252
+ application/pkix-crl,Internet Public Key Infrastructure - Certificate Revocation Lists,.crl
253
+ application/pkix-pkipath,Internet Public Key Infrastructure - Certification Path,.pkipath
254
+ application/vnd.insors.igm,IOCOM Visimeet,.igm
255
+ application/vnd.ipunplugged.rcprofile,IP Unplugged Roaming Client,.rcprofile
256
+ application/vnd.irepository.package+xml,iRepository / Lucidoc Editor,.irp
257
+ text/vnd.sun.j2me.app-descriptor,J2ME App Descriptor,.jad
258
+ application/java-archive,Java Archive,.jar
259
+ application/java-vm,Java Bytecode File,.class
260
+ application/x-java-jnlp-file,Java Network Launching Protocol,.jnlp
261
+ application/java-serialized-object,Java Serialized Object,.ser
262
+ "text/x-java-source,java",Java Source File,.java
263
+ application/javascript,JavaScript,.js
264
+ application/json,JavaScript Object Notation (JSON),.json
265
+ application/vnd.joost.joda-archive,Joda Archive,.joda
266
+ video/jpm,JPEG 2000 Compound Image File Format,.jpm
267
+ image/jpeg,JPEG Image,".jpeg, .jpg"
268
+ video/jpeg,JPGVideo,.jpgv
269
+ application/vnd.kahootz,Kahootz,.ktz
270
+ application/vnd.chipnuts.karaoke-mmd,Karaoke on Chipnuts Chipsets,.mmd
271
+ application/vnd.kde.karbon,KDE KOffice Office Suite - Karbon,.karbon
272
+ application/vnd.kde.kchart,KDE KOffice Office Suite - KChart,.chrt
273
+ application/vnd.kde.kformula,KDE KOffice Office Suite - Kformula,.kfo
274
+ application/vnd.kde.kivio,KDE KOffice Office Suite - Kivio,.flw
275
+ application/vnd.kde.kontour,KDE KOffice Office Suite - Kontour,.kon
276
+ application/vnd.kde.kpresenter,KDE KOffice Office Suite - Kpresenter,.kpr
277
+ application/vnd.kde.kspread,KDE KOffice Office Suite - Kspread,.ksp
278
+ application/vnd.kde.kword,KDE KOffice Office Suite - Kword,.kwd
279
+ application/vnd.kenameaapp,Kenamea App,.htke
280
+ application/vnd.kidspiration,Kidspiration,.kia
281
+ application/vnd.kinar,Kinar Applications,.kne
282
+ application/vnd.kodak-descriptor,Kodak Storyshare,.sse
283
+ application/vnd.las.las+xml,Laser App Enterprise,.lasxml
284
+ application/x-latex,LaTeX,.latex
285
+ application/vnd.llamagraphics.life-balance.desktop,Life Balance - Desktop Edition,.lbd
286
+ application/vnd.llamagraphics.life-balance.exchange+xml,Life Balance - Exchange Format,.lbe
287
+ application/vnd.jam,Lightspeed Audio Lab,.jam
288
+ application/vnd.lotus-1-2-3,Lotus 1-2-3,.123
289
+ application/vnd.lotus-approach,Lotus Approach,.apr
290
+ application/vnd.lotus-freelance,Lotus Freelance,.pre
291
+ application/vnd.lotus-notes,Lotus Notes,.nsf
292
+ application/vnd.lotus-organizer,Lotus Organizer,.org
293
+ application/vnd.lotus-screencam,Lotus Screencam,.scm
294
+ application/vnd.lotus-wordpro,Lotus Wordpro,.lwp
295
+ audio/vnd.lucent.voice,Lucent Voice,.lvp
296
+ audio/x-mpegurl,M3U (Multimedia Playlist),.m3u
297
+ video/x-m4v,M4v,.m4v
298
+ application/mac-binhex40,Macintosh BinHex 4.0,.hqx
299
+ application/vnd.macports.portpkg,MacPorts Port System,.portpkg
300
+ application/vnd.osgeo.mapguide.package,MapGuide DBXML,.mgp
301
+ application/marc,MARC Formats,.mrc
302
+ application/marcxml+xml,MARC21 XML Schema,.mrcx
303
+ application/mxf,Material Exchange Format,.mxf
304
+ application/vnd.wolfram.player,Mathematica Notebook Player,.nbp
305
+ application/mathematica,Mathematica Notebooks,.ma
306
+ application/mathml+xml,Mathematical Markup Language,.mathml
307
+ application/mbox,Mbox database files,.mbox
308
+ application/vnd.medcalcdata,MedCalc,.mc1
309
+ application/mediaservercontrol+xml,Media Server Control Markup Language,.mscml
310
+ application/vnd.mediastation.cdkey,MediaRemote,.cdkey
311
+ application/vnd.mfer,Medical Waveform Encoding Format,.mwf
312
+ application/vnd.mfmp,Melody Format for Mobile Platform,.mfm
313
+ model/mesh,Mesh Data Type,.msh
314
+ application/mads+xml,Metadata Authority Description Schema,.mads
315
+ application/mets+xml,Metadata Encoding and Transmission Standard,.mets
316
+ application/mods+xml,Metadata Object Description Schema,.mods
317
+ application/metalink4+xml,Metalink,.meta4
318
+ application/vnd.ms-powerpoint.template.macroenabled.12,Micosoft PowerPoint - Macro-Enabled Template File,.potm
319
+ application/vnd.ms-word.document.macroenabled.12,Micosoft Word - Macro-Enabled Document,.docm
320
+ application/vnd.ms-word.template.macroenabled.12,Micosoft Word - Macro-Enabled Template,.dotm
321
+ application/vnd.mcd,Micro CADAM Helix D&D,.mcd
322
+ application/vnd.micrografx.flo,Micrografx,.flo
323
+ application/vnd.micrografx.igx,Micrografx iGrafx Professional,.igx
324
+ application/vnd.eszigno3+xml,MICROSEC e-Szign¢,.es3
325
+ application/x-msaccess,Microsoft Access,.mdb
326
+ video/x-ms-asf,Microsoft Advanced Systems Format (ASF),.asf
327
+ application/x-msdownload,Microsoft Application,.exe
328
+ application/vnd.ms-artgalry,Microsoft Artgalry,.cil
329
+ application/vnd.ms-cab-compressed,Microsoft Cabinet File,.cab
330
+ application/vnd.ms-ims,Microsoft Class Server,.ims
331
+ application/x-ms-application,Microsoft ClickOnce,.application
332
+ application/x-msclip,Microsoft Clipboard Clip,.clp
333
+ image/vnd.ms-modi,Microsoft Document Imaging Format,.mdi
334
+ application/vnd.ms-fontobject,Microsoft Embedded OpenType,.eot
335
+ application/vnd.ms-excel,Microsoft Excel,.xls
336
+ application/vnd.ms-excel.addin.macroenabled.12,Microsoft Excel - Add-In File,.xlam
337
+ application/vnd.ms-excel.sheet.binary.macroenabled.12,Microsoft Excel - Binary Workbook,.xlsb
338
+ application/vnd.ms-excel.template.macroenabled.12,Microsoft Excel - Macro-Enabled Template File,.xltm
339
+ application/vnd.ms-excel.sheet.macroenabled.12,Microsoft Excel - Macro-Enabled Workbook,.xlsm
340
+ application/vnd.ms-htmlhelp,Microsoft Html Help File,.chm
341
+ application/x-mscardfile,Microsoft Information Card,.crd
342
+ application/vnd.ms-lrm,Microsoft Learning Resource Module,.lrm
343
+ application/x-msmediaview,Microsoft MediaView,.mvb
344
+ application/x-msmoney,Microsoft Money,.mny
345
+ application/vnd.openxmlformats-officedocument.presentationml.presentation,Microsoft Office - OOXML - Presentation,.pptx
346
+ application/vnd.openxmlformats-officedocument.presentationml.slide,Microsoft Office - OOXML - Presentation (Slide),.sldx
347
+ application/vnd.openxmlformats-officedocument.presentationml.slideshow,Microsoft Office - OOXML - Presentation (Slideshow),.ppsx
348
+ application/vnd.openxmlformats-officedocument.presentationml.template,Microsoft Office - OOXML - Presentation Template,.potx
349
+ application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,Microsoft Office - OOXML - Spreadsheet,.xlsx
350
+ application/vnd.openxmlformats-officedocument.spreadsheetml.template,Microsoft Office - OOXML - Spreadsheet Teplate,.xltx
351
+ application/vnd.openxmlformats-officedocument.wordprocessingml.document,Microsoft Office - OOXML - Word Document,.docx
352
+ application/vnd.openxmlformats-officedocument.wordprocessingml.template,Microsoft Office - OOXML - Word Document Template,.dotx
353
+ application/x-msbinder,Microsoft Office Binder,.obd
354
+ application/vnd.ms-officetheme,Microsoft Office System Release Theme,.thmx
355
+ application/onenote,Microsoft OneNote,.onetoc
356
+ audio/vnd.ms-playready.media.pya,Microsoft PlayReady Ecosystem,.pya
357
+ video/vnd.ms-playready.media.pyv,Microsoft PlayReady Ecosystem Video,.pyv
358
+ application/vnd.ms-powerpoint,Microsoft PowerPoint,.ppt
359
+ application/vnd.ms-powerpoint.addin.macroenabled.12,Microsoft PowerPoint - Add-in file,.ppam
360
+ application/vnd.ms-powerpoint.slide.macroenabled.12,Microsoft PowerPoint - Macro-Enabled Open XML Slide,.sldm
361
+ application/vnd.ms-powerpoint.presentation.macroenabled.12,Microsoft PowerPoint - Macro-Enabled Presentation File,.pptm
362
+ application/vnd.ms-powerpoint.slideshow.macroenabled.12,Microsoft PowerPoint - Macro-Enabled Slide Show File,.ppsm
363
+ application/vnd.ms-project,Microsoft Project,.mpp
364
+ application/x-mspublisher,Microsoft Publisher,.pub
365
+ application/x-msschedule,Microsoft Schedule+,.scd
366
+ application/x-silverlight-app,Microsoft Silverlight,.xap
367
+ application/vnd.ms-pki.stl,Microsoft Trust UI Provider - Certificate Trust Link,.stl
368
+ application/vnd.ms-pki.seccat,Microsoft Trust UI Provider - Security Catalog,.cat
369
+ application/vnd.visio,Microsoft Visio,.vsd
370
+ video/x-ms-wm,Microsoft Windows Media,.wm
371
+ audio/x-ms-wma,Microsoft Windows Media Audio,.wma
372
+ audio/x-ms-wax,Microsoft Windows Media Audio Redirector,.wax
373
+ video/x-ms-wmx,Microsoft Windows Media Audio/Video Playlist,.wmx
374
+ application/x-ms-wmd,Microsoft Windows Media Player Download Package,.wmd
375
+ application/vnd.ms-wpl,Microsoft Windows Media Player Playlist,.wpl
376
+ application/x-ms-wmz,Microsoft Windows Media Player Skin Package,.wmz
377
+ video/x-ms-wmv,Microsoft Windows Media Video,.wmv
378
+ video/x-ms-wvx,Microsoft Windows Media Video Playlist,.wvx
379
+ application/x-msmetafile,Microsoft Windows Metafile,.wmf
380
+ application/x-msterminal,Microsoft Windows Terminal Services,.trm
381
+ application/msword,Microsoft Word,.doc
382
+ application/x-mswrite,Microsoft Wordpad,.wri
383
+ application/vnd.ms-works,Microsoft Works,.wps
384
+ application/x-ms-xbap,Microsoft XAML Browser Application,.xbap
385
+ application/vnd.ms-xpsdocument,Microsoft XML Paper Specification,.xps
386
+ audio/midi,MIDI - Musical Instrument Digital Interface,.mid
387
+ application/vnd.ibm.minipay,MiniPay,.mpy
388
+ application/vnd.ibm.modcap,MO:DCA-P,.afp
389
+ application/vnd.jcp.javame.midlet-rms,Mobile Information Device Profile,.rms
390
+ application/vnd.tmobile-livetv,MobileTV,.tmo
391
+ application/x-mobipocket-ebook,Mobipocket,.prc
392
+ application/vnd.mobius.mbk,Mobius Management Systems - Basket file,.mbk
393
+ application/vnd.mobius.dis,Mobius Management Systems - Distribution Database,.dis
394
+ application/vnd.mobius.plc,Mobius Management Systems - Policy Definition Language File,.plc
395
+ application/vnd.mobius.mqy,Mobius Management Systems - Query File,.mqy
396
+ application/vnd.mobius.msl,Mobius Management Systems - Script Language,.msl
397
+ application/vnd.mobius.txf,Mobius Management Systems - Topic Index File,.txf
398
+ application/vnd.mobius.daf,Mobius Management Systems - UniversalArchive,.daf
399
+ text/vnd.fly,mod_fly / fly.cgi,.fly
400
+ application/vnd.mophun.certificate,Mophun Certificate,.mpc
401
+ application/vnd.mophun.application,Mophun VM,.mpn
402
+ video/mj2,Motion JPEG 2000,.mj2
403
+ audio/mpeg,MPEG Audio,.mpga
404
+ video/vnd.mpegurl,MPEG Url,.mxu
405
+ video/mpeg,MPEG Video,.mpeg
406
+ application/mp21,MPEG-21,.m21
407
+ audio/mp4,MPEG-4 Audio,.mp4a
408
+ video/mp4,MPEG-4 Video,.mp4
409
+ application/mp4,MPEG4,.mp4
410
+ application/vnd.apple.mpegurl,Multimedia Playlist Unicode,.m3u8
411
+ application/vnd.musician,MUsical Score Interpreted Code Invented for the ASCII designation of Notation,.mus
412
+ application/vnd.muvee.style,Muvee Automatic Video Editing,.msty
413
+ application/xv+xml,MXML,.mxml
414
+ application/vnd.nokia.n-gage.data,N-Gage Game Data,.ngdat
415
+ application/vnd.nokia.n-gage.symbian.install,N-Gage Game Installer,.n-gage
416
+ application/x-dtbncx+xml,Navigation Control file for XML (for ePub),.ncx
417
+ application/x-netcdf,Network Common Data Form (NetCDF),.nc
418
+ application/vnd.neurolanguage.nlu,neuroLanguage,.nlu
419
+ application/vnd.dna,New Moon Liftoff/DNA,.dna
420
+ application/vnd.noblenet-directory,NobleNet Directory,.nnd
421
+ application/vnd.noblenet-sealer,NobleNet Sealer,.nns
422
+ application/vnd.noblenet-web,NobleNet Web,.nnw
423
+ application/vnd.nokia.radio-preset,Nokia Radio Application - Preset,.rpst
424
+ application/vnd.nokia.radio-presets,Nokia Radio Application - Preset,.rpss
425
+ text/n3,Notation3,.n3
426
+ application/vnd.novadigm.edm,Novadigm's RADIA and EDM products,.edm
427
+ application/vnd.novadigm.edx,Novadigm's RADIA and EDM products,.edx
428
+ application/vnd.novadigm.ext,Novadigm's RADIA and EDM products,.ext
429
+ application/vnd.flographit,NpGraphIt,.gph
430
+ audio/vnd.nuera.ecelp4800,Nuera ECELP 4800,.ecelp4800
431
+ audio/vnd.nuera.ecelp7470,Nuera ECELP 7470,.ecelp7470
432
+ audio/vnd.nuera.ecelp9600,Nuera ECELP 9600,.ecelp9600
433
+ application/oda,Office Document Architecture,.oda
434
+ application/ogg,Ogg,.ogx
435
+ audio/ogg,Ogg Audio,.oga
436
+ video/ogg,Ogg Video,.ogv
437
+ application/vnd.oma.dd2+xml,OMA Download Agents,.dd2
438
+ application/vnd.oasis.opendocument.text-web,Open Document Text Web,.oth
439
+ application/oebps-package+xml,Open eBook Publication Structure,.opf
440
+ application/vnd.intu.qbo,Open Financial Exchange,.qbo
441
+ application/vnd.openofficeorg.extension,Open Office Extension,.oxt
442
+ application/vnd.yamaha.openscoreformat,Open Score Format,.osf
443
+ audio/webm,Open Web Media Project - Audio,.weba
444
+ video/webm,Open Web Media Project - Video,.webm
445
+ application/vnd.oasis.opendocument.chart,OpenDocument Chart,.odc
446
+ application/vnd.oasis.opendocument.chart-template,OpenDocument Chart Template,.otc
447
+ application/vnd.oasis.opendocument.database,OpenDocument Database,.odb
448
+ application/vnd.oasis.opendocument.formula,OpenDocument Formula,.odf
449
+ application/vnd.oasis.opendocument.formula-template,OpenDocument Formula Template,.odft
450
+ application/vnd.oasis.opendocument.graphics,OpenDocument Graphics,.odg
451
+ application/vnd.oasis.opendocument.graphics-template,OpenDocument Graphics Template,.otg
452
+ application/vnd.oasis.opendocument.image,OpenDocument Image,.odi
453
+ application/vnd.oasis.opendocument.image-template,OpenDocument Image Template,.oti
454
+ application/vnd.oasis.opendocument.presentation,OpenDocument Presentation,.odp
455
+ application/vnd.oasis.opendocument.presentation-template,OpenDocument Presentation Template,.otp
456
+ application/vnd.oasis.opendocument.spreadsheet,OpenDocument Spreadsheet,.ods
457
+ application/vnd.oasis.opendocument.spreadsheet-template,OpenDocument Spreadsheet Template,.ots
458
+ application/vnd.oasis.opendocument.text,OpenDocument Text,.odt
459
+ application/vnd.oasis.opendocument.text-master,OpenDocument Text Master,.odm
460
+ application/vnd.oasis.opendocument.text-template,OpenDocument Text Template,.ott
461
+ image/ktx,OpenGL Textures (KTX),.ktx
462
+ application/vnd.sun.xml.calc,OpenOffice - Calc (Spreadsheet),.sxc
463
+ application/vnd.sun.xml.calc.template,OpenOffice - Calc Template (Spreadsheet),.stc
464
+ application/vnd.sun.xml.draw,OpenOffice - Draw (Graphics),.sxd
465
+ application/vnd.sun.xml.draw.template,OpenOffice - Draw Template (Graphics),.std
466
+ application/vnd.sun.xml.impress,OpenOffice - Impress (Presentation),.sxi
467
+ application/vnd.sun.xml.impress.template,OpenOffice - Impress Template (Presentation),.sti
468
+ application/vnd.sun.xml.math,OpenOffice - Math (Formula),.sxm
469
+ application/vnd.sun.xml.writer,OpenOffice - Writer (Text - HTML),.sxw
470
+ application/vnd.sun.xml.writer.global,OpenOffice - Writer (Text - HTML),.sxg
471
+ application/vnd.sun.xml.writer.template,OpenOffice - Writer Template (Text - HTML),.stw
472
+ application/x-font-otf,OpenType Font File,.otf
473
+ application/vnd.yamaha.openscoreformat.osfpvg+xml,OSFPVG,.osfpvg
474
+ application/vnd.osgi.dp,OSGi Deployment Package,.dp
475
+ application/vnd.palm,PalmOS Data,.pdb
476
+ text/x-pascal,Pascal Source File,.p
477
+ application/vnd.pawaafile,PawaaFILE,.paw
478
+ application/vnd.hp-pclxl,PCL 6 Enhanced (Formely PCL XL),.pclxl
479
+ application/vnd.picsel,Pcsel eFIF File,.efif
480
+ image/x-pcx,PCX Image,.pcx
481
+ image/vnd.adobe.photoshop,Photoshop Document,.psd
482
+ application/pics-rules,PICSRules,.prf
483
+ image/x-pict,PICT Image,.pic
484
+ application/x-chat,pIRCh,.chat
485
+ application/pkcs10,PKCS #10 - Certification Request Standard,.p10
486
+ application/x-pkcs12,PKCS #12 - Personal Information Exchange Syntax Standard,.p12
487
+ application/pkcs7-mime,PKCS #7 - Cryptographic Message Syntax Standard,.p7m
488
+ application/pkcs7-signature,PKCS #7 - Cryptographic Message Syntax Standard,.p7s
489
+ application/x-pkcs7-certreqresp,PKCS #7 - Cryptographic Message Syntax Standard (Certificate Request Response),.p7r
490
+ application/x-pkcs7-certificates,PKCS #7 - Cryptographic Message Syntax Standard (Certificates),.p7b
491
+ application/pkcs8,PKCS #8 - Private-Key Information Syntax Standard,.p8
492
+ application/vnd.pocketlearn,PocketLearn Viewers,.plf
493
+ image/x-portable-anymap,Portable Anymap Image,.pnm
494
+ image/x-portable-bitmap,Portable Bitmap Format,.pbm
495
+ application/x-font-pcf,Portable Compiled Format,.pcf
496
+ application/font-tdpfr,Portable Font Resource,.pfr
497
+ application/x-chess-pgn,Portable Game Notation (Chess Games),.pgn
498
+ image/x-portable-graymap,Portable Graymap Format,.pgm
499
+ image/png,Portable Network Graphics (PNG),.png
500
+ image/x-portable-pixmap,Portable Pixmap Format,.ppm
501
+ application/pskc+xml,Portable Symmetric Key Container,.pskcxml
502
+ application/vnd.ctc-posml,PosML,.pml
503
+ application/postscript,PostScript,.ai
504
+ application/x-font-type1,PostScript Fonts,.pfa
505
+ application/vnd.powerbuilder6,PowerBuilder,.pbd
506
+ application/pgp-encrypted,Pretty Good Privacy,""
507
+ application/pgp-signature,Pretty Good Privacy - Signature,.pgp
508
+ application/vnd.previewsystems.box,Preview Systems ZipLock/VBox,.box
509
+ application/vnd.pvi.ptid1,Princeton Video Image,.ptid
510
+ application/pls+xml,Pronunciation Lexicon Specification,.pls
511
+ application/vnd.pg.format,Proprietary P&G Standard Reporting System,.str
512
+ application/vnd.pg.osasli,Proprietary P&G Standard Reporting System,.ei6
513
+ text/prs.lines.tag,PRS Lines Tag,.dsc
514
+ application/x-font-linux-psf,PSF Fonts,.psf
515
+ application/vnd.publishare-delta-tree,PubliShare Objects,.qps
516
+ application/vnd.pmi.widget,Qualcomm's Plaza Mobile Internet,.wg
517
+ application/vnd.quark.quarkxpress,QuarkXpress,.qxd
518
+ application/vnd.epson.esf,QUASS Stream Player,.esf
519
+ application/vnd.epson.msf,QUASS Stream Player,.msf
520
+ application/vnd.epson.ssf,QUASS Stream Player,.ssf
521
+ application/vnd.epson.quickanime,QuickAnime Player,.qam
522
+ application/vnd.intu.qfx,Quicken,.qfx
523
+ video/quicktime,Quicktime Video,.qt
524
+ application/x-rar-compressed,RAR Archive,.rar
525
+ audio/x-pn-realaudio,Real Audio Sound,.ram
526
+ audio/x-pn-realaudio-plugin,Real Audio Sound,.rmp
527
+ application/rsd+xml,Really Simple Discovery,.rsd
528
+ application/vnd.rn-realmedia,RealMedia,.rm
529
+ application/vnd.realvnc.bed,RealVNC,.bed
530
+ application/vnd.recordare.musicxml,Recordare Applications,.mxl
531
+ application/vnd.recordare.musicxml+xml,Recordare Applications,.musicxml
532
+ application/relax-ng-compact-syntax,Relax NG Compact Syntax,.rnc
533
+ application/vnd.data-vision.rdz,RemoteDocs R-Viewer,.rdz
534
+ application/rdf+xml,Resource Description Framework,.rdf
535
+ application/vnd.cloanto.rp9,RetroPlatform Player,.rp9
536
+ application/vnd.jisp,RhymBox,.jisp
537
+ application/rtf,Rich Text Format,.rtf
538
+ text/richtext,Rich Text Format (RTF),.rtx
539
+ application/vnd.route66.link66+xml,ROUTE 66 Location Based Services,.link66
540
+ application/rss+xml,RSS - Really Simple Syndication,".rss, .xml"
541
+ application/shf+xml,S Hexdump Format,.shf
542
+ application/vnd.sailingtracker.track,SailingTracker,.st
543
+ image/svg+xml,Scalable Vector Graphics (SVG),.svg
544
+ application/vnd.sus-calendar,ScheduleUs,.sus
545
+ application/sru+xml,Search/Retrieve via URL Response Format,.sru
546
+ application/set-payment-initiation,Secure Electronic Transaction - Payment,.setpay
547
+ application/set-registration-initiation,Secure Electronic Transaction - Registration,.setreg
548
+ application/vnd.sema,Secured eMail,.sema
549
+ application/vnd.semd,Secured eMail,.semd
550
+ application/vnd.semf,Secured eMail,.semf
551
+ application/vnd.seemail,SeeMail,.see
552
+ application/x-font-snf,Server Normal Format,.snf
553
+ application/scvp-vp-request,Server-Based Certificate Validation Protocol - Validation Policies - Request,.spq
554
+ application/scvp-vp-response,Server-Based Certificate Validation Protocol - Validation Policies - Response,.spp
555
+ application/scvp-cv-request,Server-Based Certificate Validation Protocol - Validation Request,.scq
556
+ application/scvp-cv-response,Server-Based Certificate Validation Protocol - Validation Response,.scs
557
+ application/sdp,Session Description Protocol,.sdp
558
+ text/x-setext,Setext,.etx
559
+ video/x-sgi-movie,SGI Movie,.movie
560
+ application/vnd.shana.informed.formdata,Shana Informed Filler,.ifm
561
+ application/vnd.shana.informed.formtemplate,Shana Informed Filler,.itp
562
+ application/vnd.shana.informed.interchange,Shana Informed Filler,.iif
563
+ application/vnd.shana.informed.package,Shana Informed Filler,.ipk
564
+ application/thraud+xml,Sharing Transaction Fraud Data,.tfi
565
+ application/x-shar,Shell Archive,.shar
566
+ image/x-rgb,Silicon Graphics RGB Bitmap,.rgb
567
+ application/vnd.epson.salt,SimpleAnimeLite Player,.slt
568
+ application/vnd.accpac.simply.aso,Simply Accounting,.aso
569
+ application/vnd.accpac.simply.imp,Simply Accounting - Data Import,.imp
570
+ application/vnd.simtech-mindmapper,SimTech MindMapper,.twd
571
+ application/vnd.commonspace,Sixth Floor Media - CommonSpace,.csp
572
+ application/vnd.yamaha.smaf-audio,SMAF Audio,.saf
573
+ application/vnd.smaf,SMAF File,.mmf
574
+ application/vnd.yamaha.smaf-phrase,SMAF Phrase,.spf
575
+ application/vnd.smart.teacher,SMART Technologies Apps,.teacher
576
+ application/vnd.svd,SourceView Document,.svd
577
+ application/sparql-query,SPARQL - Query,.rq
578
+ application/sparql-results+xml,SPARQL - Results,.srx
579
+ application/srgs,Speech Recognition Grammar Specification,.gram
580
+ application/srgs+xml,Speech Recognition Grammar Specification - XML,.grxml
581
+ application/ssml+xml,Speech Synthesis Markup Language,.ssml
582
+ application/vnd.koan,SSEYO Koan Play File,.skp
583
+ text/sgml,Standard Generalized Markup Language (SGML),.sgml
584
+ application/vnd.stardivision.calc,StarOffice - Calc,.sdc
585
+ application/vnd.stardivision.draw,StarOffice - Draw,.sda
586
+ application/vnd.stardivision.impress,StarOffice - Impress,.sdd
587
+ application/vnd.stardivision.math,StarOffice - Math,.smf
588
+ application/vnd.stardivision.writer,StarOffice - Writer,.sdw
589
+ application/vnd.stardivision.writer-global,StarOffice - Writer (Global),.sgl
590
+ application/vnd.stepmania.stepchart,StepMania,.sm
591
+ application/x-stuffit,Stuffit Archive,.sit
592
+ application/x-stuffitx,Stuffit Archive,.sitx
593
+ application/vnd.solent.sdkm+xml,SudokuMagic,.sdkm
594
+ application/vnd.olpc-sugar,Sugar Linux Application Bundle,.xo
595
+ audio/basic,Sun Audio - Au file format,.au
596
+ application/vnd.wqd,SundaHus WQ,.wqd
597
+ application/vnd.symbian.install,Symbian Install Package,.sis
598
+ application/smil+xml,Synchronized Multimedia Integration Language,.smi
599
+ application/vnd.syncml+xml,SyncML,.xsm
600
+ application/vnd.syncml.dm+wbxml,SyncML - Device Management,.bdm
601
+ application/vnd.syncml.dm+xml,SyncML - Device Management,.xdm
602
+ application/x-sv4cpio,System V Release 4 CPIO Archive,.sv4cpio
603
+ application/x-sv4crc,System V Release 4 CPIO Checksum Data,.sv4crc
604
+ application/sbml+xml,Systems Biology Markup Language,.sbml
605
+ text/tab-separated-values,Tab Seperated Values,.tsv
606
+ image/tiff,Tagged Image File Format,.tiff
607
+ application/vnd.tao.intent-module-archive,Tao Intent,.tao
608
+ application/x-tar,Tar File (Tape Archive),.tar
609
+ application/x-tcl,Tcl Script,.tcl
610
+ application/x-tex,TeX,.tex
611
+ application/x-tex-tfm,TeX Font Metric,.tfm
612
+ application/tei+xml,Text Encoding and Interchange,.tei
613
+ text/plain,Text File,.txt
614
+ application/vnd.spotfire.dxp,TIBCO Spotfire,.dxp
615
+ application/vnd.spotfire.sfs,TIBCO Spotfire,.sfs
616
+ application/timestamped-data,Time Stamped Data Envelope,.tsd
617
+ application/vnd.trid.tpt,TRI Systems Config,.tpt
618
+ application/vnd.triscape.mxs,Triscape Map Explorer,.mxs
619
+ text/troff,troff,.t
620
+ application/vnd.trueapp,True BASIC,.tra
621
+ application/x-font-ttf,TrueType Font,.ttf
622
+ text/turtle,Turtle (Terse RDF Triple Language),.ttl
623
+ application/vnd.umajin,UMAJIN,.umj
624
+ application/vnd.uoml+xml,Unique Object Markup Language,.uoml
625
+ application/vnd.unity,Unity 3d,.unityweb
626
+ application/vnd.ufdl,Universal Forms Description Language,.ufd
627
+ text/uri-list,URI Resolution Services,.uri
628
+ application/vnd.uiq.theme,User Interface Quartz - Theme (Symbian),.utz
629
+ application/x-ustar,Ustar (Uniform Standard Tape Archive),.ustar
630
+ text/x-uuencode,UUEncode,.uu
631
+ text/x-vcalendar,vCalendar,.vcs
632
+ text/x-vcard,vCard,.vcf
633
+ application/x-cdlink,Video CD,.vcd
634
+ application/vnd.vsf,Viewport+,.vsf
635
+ model/vrml,Virtual Reality Modeling Language,.wrl
636
+ application/vnd.vcx,VirtualCatalog,.vcx
637
+ model/vnd.mts,Virtue MTS,.mts
638
+ model/vnd.vtu,Virtue VTU,.vtu
639
+ application/vnd.visionary,Visionary,.vis
640
+ video/vnd.vivo,Vivo,.viv
641
+ "application/ccxml+xml,",Voice Browser Call Control,.ccxml
642
+ application/voicexml+xml,VoiceXML,.vxml
643
+ application/x-wais-source,WAIS Source,.src
644
+ application/vnd.wap.wbxml,WAP Binary XML (WBXML),.wbxml
645
+ image/vnd.wap.wbmp,WAP Bitamp (WBMP),.wbmp
646
+ audio/x-wav,Waveform Audio File Format (WAV),.wav
647
+ application/davmount+xml,Web Distributed Authoring and Versioning,.davmount
648
+ application/x-font-woff,Web Open Font Format,.woff
649
+ application/wspolicy+xml,Web Services Policy,.wspolicy
650
+ image/webp,WebP Image,.webp
651
+ application/vnd.webturbo,WebTurbo,.wtb
652
+ application/widget,Widget Packaging and XML Configuration,.wgt
653
+ application/winhlp,WinHelp,.hlp
654
+ text/vnd.wap.wml,Wireless Markup Language (WML),.wml
655
+ text/vnd.wap.wmlscript,Wireless Markup Language Script (WMLScript),.wmls
656
+ application/vnd.wap.wmlscriptc,WMLScript,.wmlsc
657
+ application/vnd.wordperfect,Wordperfect,.wpd
658
+ application/vnd.wt.stf,Worldtalk,.stf
659
+ application/wsdl+xml,WSDL - Web Services Description Language,.wsdl
660
+ image/x-xbitmap,X BitMap,.xbm
661
+ image/x-xpixmap,X PixMap,.xpm
662
+ image/x-xwindowdump,X Window Dump,.xwd
663
+ application/x-x509-ca-cert,X.509 Certificate,.der
664
+ application/x-xfig,Xfig,.fig
665
+ application/xhtml+xml,XHTML - The Extensible HyperText Markup Language,.xhtml
666
+ application/xml,XML - Extensible Markup Language,.xml
667
+ application/xcap-diff+xml,XML Configuration Access Protocol - XCAP Diff,.xdf
668
+ application/xenc+xml,XML Encryption Syntax and Processing,.xenc
669
+ application/patch-ops-error+xml,XML Patch Framework,.xer
670
+ application/resource-lists+xml,XML Resource Lists,.rl
671
+ application/rls-services+xml,XML Resource Lists,.rs
672
+ application/resource-lists-diff+xml,XML Resource Lists Diff,.rld
673
+ application/xslt+xml,XML Transformations,.xslt
674
+ application/xop+xml,XML-Binary Optimized Packaging,.xop
675
+ application/x-xpinstall,XPInstall - Mozilla,.xpi
676
+ application/xspf+xml,XSPF - XML Shareable Playlist Format,.xspf
677
+ application/vnd.mozilla.xul+xml,XUL - XML User Interface Language,.xul
678
+ chemical/x-xyz,XYZ File Format,.xyz
679
+ application/yang,YANG Data Modeling Language,.yang
680
+ application/yin+xml,YIN (YANG - XML),.yin
681
+ application/vnd.zul,Z.U.L. Geometry,.zir
682
+ application/zip,Zip Archive,.zip
683
+ application/vnd.handheld-entertainment+xml,ZVUE Media Manager,.zmm
684
+ application/vnd.zzazz.deck+xml,Zzazz Deck,.zaz
data/test/helper.rb ADDED
@@ -0,0 +1,18 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'test/unit'
11
+ require 'shoulda'
12
+
13
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
15
+ require 'friendly_mime'
16
+
17
+ class Test::Unit::TestCase
18
+ end
@@ -0,0 +1,7 @@
1
+ require 'helper'
2
+
3
+ class TestFriendlyMime < Test::Unit::TestCase
4
+ should "probably rename this file and start testing for real" do
5
+ flunk "hey buddy, you should probably rename this file and start testing for real"
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,110 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: friendly_mime
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Łukasz Śliwa
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-09-23 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rdoc
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '3.12'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '3.12'
30
+ - !ruby/object:Gem::Dependency
31
+ name: bundler
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '1.0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '1.0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: jeweler
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: 1.8.7
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 1.8.7
62
+ description: Friendly::MIME gem provides possibility to show friendly description
63
+ of a document by the given MIME type.
64
+ email: lukasz.sliwa@apptamers.com
65
+ executables: []
66
+ extensions: []
67
+ extra_rdoc_files:
68
+ - LICENSE.txt
69
+ - README.rdoc
70
+ files:
71
+ - .document
72
+ - Gemfile
73
+ - Gemfile.lock
74
+ - LICENSE.txt
75
+ - README.rdoc
76
+ - Rakefile
77
+ - friendly_mime.gemspec
78
+ - lib/friendly_mime.rb
79
+ - mimes.csv
80
+ - test/helper.rb
81
+ - test/test_friendly_mime.rb
82
+ homepage: http://github.com/lukaszsliwa/friendly_mime
83
+ licenses:
84
+ - MIT
85
+ post_install_message:
86
+ rdoc_options: []
87
+ require_paths:
88
+ - lib
89
+ required_ruby_version: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ! '>='
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ segments:
96
+ - 0
97
+ hash: -2404426047986365331
98
+ required_rubygems_version: !ruby/object:Gem::Requirement
99
+ none: false
100
+ requirements:
101
+ - - ! '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ requirements: []
105
+ rubyforge_project:
106
+ rubygems_version: 1.8.25
107
+ signing_key:
108
+ specification_version: 3
109
+ summary: Friendly::MIME gem provides possibility to show friendly description
110
+ test_files: []