IMAP does not need ICONV if ALWAYS_UNICODE_LOCALE (Predrag Punosevac)
[s-mailx.git] / mime.types
blob95f7331006caedd05397c1f1b7bcc1d90e9ef690
1 #@ mime.types(5)
2 #@ This is the set of MIME types that will become compiled into S-nail.
3 #@ Official MIME types are registered at and managed by IANA.
4 #@ A more complete list of actually used MIME types can be found at
5 #@ <http://svn.apache.org/viewvc/tika/trunk/tika-core/src/main/resources/\
6 #@ org/apache/tika/mime/tika-mimetypes.xml>.
7 #@ S-nail adds some more, search EXTENSION comments below.
8 #@ S-nail changes some TIKA things, search CHANGE comments below.
10 # Lines starting with a number sign (#) (after possible whitespace) are
11 # comments and discarded, empty lines are ignored, remaining ones are
12 # interpreted according to the scheme
13 #    [TYPEMARKER ]MIMETYPE whitespace EXTENSION(S, whitespace separated)
14 # MIMETYPE may occur several times, values are joined.
16 # Syntax extensions:
17 # - Follow lines may be used: instead of repeating MIMETYPE, start the next
18 #   line with whitespace.  (Intervening comment lines may be used.)
19 # - TYPEMARKER: an at sign (@) will tag the MIME type as plain text (unless
20 #   the user installs a specific handler for the type in question).
21 #   . "@t@" is identical to plain "@".
22 #   . "@h@" will tag the MIME type as HTML tagsoup.
23 #   . "@H@" is identical to "@h@", but won't treat the MIME type as plain
24 #      text if the built-in HTML tagsoup parser isn't available, i.e., it
25 #      requires an explicit MIME type handler to be set.
27 # Syntax restrictions:
28 # - Comments must be lines of their own.
29 # - Only MIME types for which we have a type constant allocated in
30 #   mime_types.c:enum mime_type are allowed in this file here.
31 # - MIME types without any file extensions are not handled.
32 # - Note that the order of types and extensions is preserved ...
33 # - Note that at least one built-in type is required (empty C array)
35 # Expected frequent use
36 # text/plain CHANGE: m4->text/x-m4, pod->text/x-pod; rc<-
37 @ text/plain                  txt text conf cfg def list log in properties
38                               rc
39 @ text/x-diff                 diff patch
40 @ text/troff                  t tr roff man me ms
41                               tmac
42                               1 2 3 4 5 6 7 8 9
43 application/pdf               pdf
44 @h@ application/xhtml+xml     xhtml xht
45 @h@ text/html                 html htm
46 application/xml               xml xsl xsd
48 @ application/x-sh            sh bash
49 @ text/x-awk                  awk
50 @ text/x-chdr                 h
51 @ text/x-csrc                 c
52 @ text/x-c++hdr               hpp hxx hh h++ hp
53 @ text/x-c++src               cpp cxx cc c++
54 @ text/x-ini                  ini
55 @ text/x-perl                 pl pm al perl
56 # CHANGE (tika: text/plain)
57 @ text/x-pod                  pod
59 # EXTENSION .txz
60 application/x-xz              xz txz
61 # EXTENSION
62 application/x-lzma            lzma tlz
63 # EXTENSION
64 application/x-zstd            zst tzst
65 application/gzip              tgz gz emz
66 # EXTENSION
67 application/x-lz4             lz4
68 application/x-tar             tar
69 application/x-bzip2           bz2 tbz2 boz
70 # EXTENSIONs
71 application/x-lzip            lz
72 application/zip               zip
74 application/pgp-encrypted     pgp
75 @q@ application/pgp-signature     sig asc
76 application/pkcs7-mime        p7m p7c
77 @q@ application/pkcs7-signature   p7s
78 application/postscript        ps eps epsf epsi
80 image/gif                     gif
81 image/jp2                     jp2
82 image/jpeg                    jpg jpeg jpe jif jfif jfi
83 image/png                     png
85 application/cbor              cbor
87 # Remains alphabetically
88 @ application/javascript      js
89 @ application/json            json
90 @ application/mbox            mbox
91 application/rdf+xml           rdf owl
92 application/rss+xml           rss
93 @ application/sql             sql
94 application/x-bcpio           bcpio
95 application/x-bittorrent      torrent
96 application/x-bzip            bz tbz
97 application/x-compress        z
98 application/x-cpio            cpio
99 @ application/x-csh           csh tcsh
100 application/x-dvi             dvi
101 @ application/x-latex         latex
102 application/x-shar            shar
103 @ application/x-tex           tex
104 @ application/x-texinfo       texinfo texi
105 application/x-x509-ca-cert    der crt
106 application/x-xfig            fig
107 application/xml-dtd           dtd
108 application/xquery            xq xquery
109 application/xslt+xml          xslt
110 audio/basic                   au snd
111 audio/midi                    mid midi kar rmi
112 audio/mp4                     mp4a m4a m4b
113 audio/mpeg                    mpga mp2 mp2a mp3 m2a m3a
114 audio/ogg                     oga ogg
115 audio/speex                   spx
116 audio/x-flac                  flac
117 audio/x-mpegurl               m3u
118 audio/x-ms-wma                wma
119 audio/x-pn-realaudio          ram ra
120 audio/x-wav                   wav
121 image/svg+xml                 svg svgz
122 image/tiff                    tiff tif
123 image/x-ms-bmp                bmp dib
124 image/x-rgb                   rgb
125 image/x-xbitmap               xbm
126 image/x-xpixmap               xpm
127 image/x-xwindowdump           xwd
128 message/rfc822                eml mime mht mhtml
129 @ text/calendar               ics ifb
130 @ text/css                    css
131 @ text/csv                    csv
132 @ text/sgml                   sgml sgm
133 @ text/x-assembly             s S asm
134 # (Note that the tuple extensions will never match since text/plain wins!)
135 @ text/x-asciidoc             asciidoc adoc ad ad.txt adoc.txt
136 @ text/x-csharp               cs
137 # (I have assembler .cgi's written myself, don't "@ " mark that one)
138 text/x-cgi                    cgi
139 @ text/x-d                    d
140 @ text/x-go                   go
141 @ text/x-java                 java
142 text/x-jsp                    jsp
143 @ text/x-lex                  l
144 # EXTENSION nim
145 @ text/x-nimrod               nim
146 # CHANGE (tika: text/plain)
147 @ text/x-m4                   m4
148 @ text/x-objcsrc              m
149 @ text/x-php                  php php3 php4
150 @ text/x-python               py
151 @ text/x-rst                  rst rest restx
152 @ text/x-ruby                 rb
153 text/x-uuencode               uu
154 @ text/x-vcalendar            vcs
155 @ text/vcard                  vcf
156 @ text/markdown               md markdown
157 @ text/x-yacc                 y
158 @ text/x-yaml                 yaml
160 # s-it-mode