summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2023-10-04 14:25:37 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2023-10-04 14:25:37 +0200
commit43a9f7ff957f8c314e5fae4dae9479ebd74ae4a5 (patch)
treedecfb4d699e4e337cd1d0547cbf2efc33533fcad
parent94a68dffff741be5ed45adcb37d453773f13c6fe (diff)
mime: add longer mime list
-rw-r--r--src/mime-types.scm102
1 files changed, 98 insertions, 4 deletions
diff --git a/src/mime-types.scm b/src/mime-types.scm
index c199406..198ae8f 100644
--- a/src/mime-types.scm
+++ b/src/mime-types.scm
@@ -2,7 +2,79 @@
#:export (mime-types))
(define mime-types
- '(("3gp" . "audio/3gpp")
+ '(("js" . "application/javascript")
+ ("mjs" . "application/javascript")
+ ("json" . "application/json")
+ ("webmanifest". "application/manifest+json")
+ ("doc" . "application/msword")
+ ("dot" . "application/msword")
+ ("wiz" . "application/msword")
+ ("nq" . "application/n-quads")
+ ("nt" . "application/n-triples")
+ ("bin" . "application/octet-stream")
+ ("a" . "application/octet-stream")
+ ("dll" . "application/octet-stream")
+ ("exe" . "application/octet-stream")
+ ("o" . "application/octet-stream")
+ ("obj" . "application/octet-stream")
+ ("so" . "application/octet-stream")
+ ("oda" . "application/oda")
+ ("pdf" . "application/pdf")
+ ("p7c" . "application/pkcs7-mime")
+ ("ps" . "application/postscript")
+ ("ai" . "application/postscript")
+ ("eps" . "application/postscript")
+ ("trig" . "application/trig")
+ ("m3u" . "application/vnd.apple.mpegurl")
+ ("m3u8" . "application/vnd.apple.mpegurl")
+ ("xls" . "application/vnd.ms-excel")
+ ("xlb" . "application/vnd.ms-excel")
+ ("ppt" . "application/vnd.ms-powerpoint")
+ ("pot" . "application/vnd.ms-powerpoint")
+ ("ppa" . "application/vnd.ms-powerpoint")
+ ("pps" . "application/vnd.ms-powerpoint")
+ ("pwz" . "application/vnd.ms-powerpoint")
+ ("wasm" . "application/wasm")
+ ("bcpio" . "application/x-bcpio")
+ ("cpio" . "application/x-cpio")
+ ("csh" . "application/x-csh")
+ ("dvi" . "application/x-dvi")
+ ("gtar" . "application/x-gtar")
+ ("hdf" . "application/x-hdf")
+ ("h5" . "application/x-hdf5")
+ ("latex" . "application/x-latex")
+ ("mif" . "application/x-mif")
+ ("cdf" . "application/x-netcdf")
+ ("nc" . "application/x-netcdf")
+ ("p12" . "application/x-pkcs12")
+ ("pfx" . "application/x-pkcs12")
+ ("ram" . "application/x-pn-realaudio")
+ ("pyc" . "application/x-python-code")
+ ("pyo" . "application/x-python-code")
+ ("sh" . "application/x-sh")
+ ("shar" . "application/x-shar")
+ ("swf" . "application/x-shockwave-flash")
+ ("sv4cpio" . "application/x-sv4cpio")
+ ("sv4crc" . "application/x-sv4crc")
+ ("tar" . "application/x-tar")
+ ("tcl" . "application/x-tcl")
+ ("tex" . "application/x-tex")
+ ("texi" . "application/x-texinfo")
+ ("texinfo" . "application/x-texinfo")
+ ("roff" . "application/x-troff")
+ ("t" . "application/x-troff")
+ ("tr" . "application/x-troff")
+ ("man" . "application/x-troff-man")
+ ("me" . "application/x-troff-me")
+ ("ms" . "application/x-troff-ms")
+ ("ustar" . "application/x-ustar")
+ ("src" . "application/x-wais-source")
+ ("xsl" . "application/xml")
+ ("rdf" . "application/xml")
+ ("wsdl" . "application/xml")
+ ("xpdl" . "application/xml")
+ ("zip" . "application/zip")
+ ("3gp" . "audio/3gpp")
("3gpp" . "audio/3gpp")
("3g2" . "audio/3gpp2")
("3gpp2" . "audio/3gpp2")
@@ -15,7 +87,6 @@
("mp3" . "audio/mpeg")
("mp2" . "audio/mpeg")
("opus" . "audio/opus")
- ("oga" . "audio/ogg")
("aif" . "audio/x-aiff")
("aifc" . "audio/x-aiff")
("aiff" . "audio/x-aiff")
@@ -44,7 +115,31 @@
("xbm" . "image/x-xbitmap")
("xpm" . "image/x-xpixmap")
("xwd" . "image/x-xwindowdump")
- ("ogv" . "video/ogv")
+ ("eml" . "message/rfc822")
+ ("mht" . "message/rfc822")
+ ("mhtml" . "message/rfc822")
+ ("nws" . "message/rfc822")
+ ("css" . "text/css")
+ ("csv" . "text/csv")
+ ("html" . "text/html")
+ ("htm" . "text/html")
+ ("n3" . "text/n3")
+ ("txt" . "text/plain")
+ ("bat" . "text/plain")
+ ("c" . "text/plain")
+ ("h" . "text/plain")
+ ("ksh" . "text/plain")
+ ("pl" . "text/plain")
+ ("srt" . "text/plain")
+ ("rtx" . "text/richtext")
+ ("tsv" . "text/tab-separated-values")
+ ("vtt" . "text/vtt")
+ ("py" . "text/x-python")
+ ("etx" . "text/x-setext")
+ ("sgm" . "text/x-sgml")
+ ("sgml" . "text/x-sgml")
+ ("vcf" . "text/x-vcard")
+ ("xml" . "text/xml")
("mp4" . "video/mp4")
("mpeg" . "video/mpeg")
("m1v" . "video/mpeg")
@@ -56,4 +151,3 @@
("webm" . "video/webm")
("avi" . "video/x-msvideo")
("movie" . "video/x-sgi-movie")))
-