]> gitweb @ CieloNegro.org - Lucu.git/blob - Network/HTTP/Lucu/MIMEType/DefaultExtensionMap.hs
Make use of mimeType quasi-quoter.
[Lucu.git] / Network / HTTP / Lucu / MIMEType / DefaultExtensionMap.hs
1 {-# LANGUAGE
2     QuasiQuotes
3   , UnicodeSyntax
4   #-}
5 -- |The default extension map.
6 module Network.HTTP.Lucu.MIMEType.DefaultExtensionMap
7     ( defaultExtensionMap
8     )
9     where
10 import Network.HTTP.Lucu.MIMEType.Guess
11
12 -- |'defaultExtensionMap' contains contains every possible pairs of an
13 -- extension and a MIME Type.
14 defaultExtensionMap :: ExtMap
15 {-# NOINLINE defaultExtensionMap #-}
16 defaultExtensionMap = [extMap|
17 # MIME type                     Extensions
18 application/andrew-inset        ez
19 application/atom+xml            atom
20 application/mac-binhex40        hqx
21 application/mac-compactpro      cpt
22 application/mathml+xml          mathml
23 application/msword              doc
24 application/octet-stream        bin dms lha lzh exe class so dll dmg hi o
25 application/oda                 oda
26 application/ogg                 anx ogg ogm
27 application/pdf                 pdf
28 application/postscript          ai eps ps
29 application/rdf+xml             rdf
30 application/smil                smi smil
31 application/srgs                gram
32 application/srgs+xml            grxml
33 application/vnd.mif             mif
34 application/vnd.mozilla.xul+xml xul
35 application/vnd.ms-excel        xls
36 application/vnd.ms-powerpoint   ppt
37 application/vnd.rn-realmedia    rm
38 application/vnd.wap.wbxml       wbxml
39 application/vnd.wap.wmlc        wmlc
40 application/vnd.wap.wmlscriptc  wmlsc
41 application/voicexml+xml        vxml
42 application/x-3gp               3gp
43 application/x-ape               ape
44 application/x-ar                a
45 application/x-bcpio             bcpio
46 application/x-bzip              bz2 tbz
47 application/x-cdlink            vcd
48 application/x-chess-pgn         pgn
49 application/x-compress          Z
50 application/x-cpio              cpio
51 application/x-csh               csh
52 application/x-director          dcr dir dxr
53 application/x-dvi               dvi
54 application/x-futuresplash      spl
55 application/x-gtar              gtar
56 application/x-gzip              gz tgz
57 application/x-hdf               hdf
58 application/x-javascript        js
59 application/x-java-jnlp-file    jnlp
60 application/x-koan              skp skd skt skm
61 application/x-latex             latex
62 application/x-nar               nar
63 application/x-netcdf            nc cdf
64 application/x-rar               rar
65 application/x-sh                sh
66 application/x-shar              shar
67 application/x-shockwave-flash   swf swfl
68 application/x-spc               spc
69 application/x-stuffit           sit
70 application/x-sv4cpio           sv4cpio
71 application/x-sv4crc            sv4crc
72 application/x-tar               tar
73 application/x-tcl               tcl
74 application/x-tex               tex
75 application/x-texinfo           texinfo texi
76 application/x-troff             t tr roff
77 application/x-troff-man         man
78 application/x-troff-me          me
79 application/x-troff-ms          ms
80 application/x-ustar             ustar
81 application/x-wais-source       src
82 application/xhtml+xml           xhtml xht
83 application/xslt+xml            xslt
84 application/xml                 xml xsl
85 application/xml-dtd             dtd
86 application/zip                 zip
87 audio/basic                     au snd
88 audio/iLBC-sh                   ilbc
89 audio/midi                      mid midi kar
90 audio/mp4a-latm                 m4a m4p
91 audio/mpeg                      mpga mp2 mp3
92 audio/x-ac3                     ac3
93 audio/x-aiff                    aif aiff aifc
94 audio/x-ircam                   sf
95 audio/x-flac                    flac
96 audio/x-mod                     669 amf dsm gdm far imf it med mod mtm okt sam s3m stm stx ult xm
97 audio/x-mpegurl                 m3u
98 audio/x-musepack                mpc
99 audio/x-nist                    nist
100 audio/x-paris                   paf
101 audio/x-pn-realaudio            ram ra
102 audio/x-sds                     sds
103 audio/x-shorten                 shn
104 audio/x-sid                     sid
105 audio/x-svx                     iff svx
106 audio/x-ttafile                 tta
107 audio/x-voc                     voc
108 audio/x-w64                     w64
109 audio/x-wav                     wav
110 audio/x-wavpack                 wv wvp
111 audio/x-wavpack-correction      wvc
112 chemical/x-pdb                  pdb
113 chemical/x-xyz                  xyz
114 image/bmp                       bmp
115 image/cgm                       cgm
116 image/gif                       gif
117 image/ief                       ief
118 image/jpeg                      jpeg jpg jpe
119 image/jp2                       jp2
120 image/pict                      pict pic pct
121 image/png                       png
122 image/svg+xml                   svg
123 image/tiff                      tiff tif
124 image/vnd.djvu                  djvu djv
125 image/vnd.wap.wbmp              wbmp
126 image/x-sun-raster              ras
127 image/x-macpaint                pntg pnt mac
128 image/x-icon                    ico
129 image/x-jng                     jng
130 image/x-portable-anymap         pnm
131 image/x-portable-bitmap         pbm
132 image/x-portable-graymap        pgm
133 image/x-portable-pixmap         ppm
134 image/x-quicktime               qtif qti qif
135 image/x-rgb                     rgb
136 image/x-xbitmap                 xbm
137 image/x-xcf                     xcf
138 image/x-xpixmap                 xpm
139 image/x-xwindowdump             xwd
140 model/iges                      igs iges
141 model/mesh                      msh mesh silo
142 model/vrml                      wrl vrml
143 text/calendar                   ics ifb
144 text/css                        css
145 text/html                       html htm
146 text/plain                      asc txt
147 text/richtext                   rtx
148 text/rtf                        rtf
149 text/sgml                       sgml sgm
150 text/tab-separated-values       tsv
151 text/uri-list                   uni unis uri uris
152 text/vnd.wap.wml                wml
153 text/vnd.wap.wmlscript          wmls
154 text/x-c                        c h
155 text/x-c++                      cc cpp cxx hpp hxx
156 text/x-cabal                    cabal
157 text/x-haskell                  hs hsc lhs
158 text/x-setext                   etx
159 video/mp4                       mp4
160 video/mpeg                      mpeg mpg mpe
161 video/mpeg4                     m4v
162 video/mpegts                    ts
163 video/quicktime                 qt mov
164 video/vnd.mpegurl               mxu m4u
165 video/x-dv                      dv dif
166 video/x-fli                     flc fli
167 video/x-flv                     flv
168 video/x-matroska                mkv  mka
169 video/x-ms-asf                  asf wm wma wmv
170 video/x-msvideo                 avi
171 video/x-mng                     mng
172 video/x-mve                     mve
173 video/x-nuv                     nuv
174 video/x-sgi-movie               movie
175 x-conference/x-cooltalk         ice
176 |]