X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=Lucu.git;a=blobdiff_plain;f=Network%2FHTTP%2FLucu%2FMIMEType%2FDefaultExtensionMap.hs;h=cdeb0e84e82c4421317c04f8b598f143beda8806;hp=642afb2c58f5462fbb4418dd4eea74bd657bd082;hb=175e14b3b144537644e65ca76f1fca5c56fd44e9;hpb=b340a77fa7bd051dd13a41d0a5b1ad30220bc6b6 diff --git a/Network/HTTP/Lucu/MIMEType/DefaultExtensionMap.hs b/Network/HTTP/Lucu/MIMEType/DefaultExtensionMap.hs index 642afb2..cdeb0e8 100644 --- a/Network/HTTP/Lucu/MIMEType/DefaultExtensionMap.hs +++ b/Network/HTTP/Lucu/MIMEType/DefaultExtensionMap.hs @@ -11,179 +11,179 @@ import Data.Map (Map) defaultExtensionMap :: Map String MIMEType defaultExtensionMap = M.fromList - [("3gp", "application" +/+ "x-3gp"), ("669", "audio" +/+ "x-mod"), - ("Z", "application" +/+ "x-compress"), - ("a", "application" +/+ "x-ar"), ("ac3", "audio" +/+ "x-ac3"), - ("ai", "application" +/+ "postscript"), - ("aif", "audio" +/+ "x-aiff"), ("aifc", "audio" +/+ "x-aiff"), - ("aiff", "audio" +/+ "x-aiff"), ("amf", "audio" +/+ "x-mod"), - ("anx", "application" +/+ "ogg"), - ("ape", "application" +/+ "x-ape"), ("asc", "text" +/+ "plain"), - ("asf", "video" +/+ "x-ms-asf"), - ("atom", "application" +/+ "atom+xml"), ("au", "audio" +/+ "x-au"), - ("avi", "video" +/+ "x-msvideo"), - ("bcpio", "application" +/+ "x-bcpio"), - ("bin", "application" +/+ "octet-stream"), - ("bmp", "image" +/+ "bmp"), ("bz2", "application" +/+ "x-bzip"), - ("cabal", "text" +/+ "x-cabal"), - ("cdf", "application" +/+ "x-netcdf"), ("cgm", "image" +/+ "cgm"), - ("class", "application" +/+ "octet-stream"), - ("cpio", "application" +/+ "x-cpio"), - ("cpt", "application" +/+ "mac-compactpro"), - ("csh", "application" +/+ "x-csh"), ("css", "text" +/+ "css"), - ("dcr", "application" +/+ "x-director"), - ("dif", "video" +/+ "x-dv"), - ("dir", "application" +/+ "x-director"), - ("djv", "image" +/+ "vnd.djvu"), ("djvu", "image" +/+ "vnd.djvu"), - ("dll", "application" +/+ "octet-stream"), - ("dmg", "application" +/+ "octet-stream"), - ("dms", "application" +/+ "octet-stream"), - ("doc", "application" +/+ "msword"), ("dsm", "audio" +/+ "x-mod"), - ("dtd", "application" +/+ "xml-dtd"), ("dv", "video" +/+ "x-dv"), - ("dvi", "application" +/+ "x-dvi"), - ("dxr", "application" +/+ "x-director"), - ("eps", "application" +/+ "postscript"), - ("etx", "text" +/+ "x-setext"), - ("exe", "application" +/+ "octet-stream"), - ("ez", "application" +/+ "andrew-inset"), - ("far", "audio" +/+ "x-mod"), ("flac", "audio" +/+ "x-flac"), - ("flc", "video" +/+ "x-fli"), ("fli", "video" +/+ "x-fli"), - ("flv", "video" +/+ "x-flv"), ("gdm", "audio" +/+ "x-mod"), - ("gif", "image" +/+ "gif"), ("gram", "application" +/+ "srgs"), - ("grxml", "application" +/+ "srgs+xml"), - ("gtar", "application" +/+ "x-gtar"), - ("gz", "application" +/+ "x-gzip"), - ("hdf", "application" +/+ "x-hdf"), - ("hi", "application" +/+ "octet-stream"), - ("hqx", "application" +/+ "mac-binhex40"), - ("hs", "text" +/+ "x-haskell"), ("htm", "text" +/+ "html"), - ("html", "text" +/+ "html"), - ("ice", "x-conference" +/+ "x-cooltalk"), - ("ico", "image" +/+ "x-icon"), ("ics", "text" +/+ "calendar"), - ("ief", "image" +/+ "ief"), ("ifb", "text" +/+ "calendar"), - ("iff", "audio" +/+ "x-svx"), ("iges", "model" +/+ "iges"), - ("igs", "model" +/+ "iges"), ("ilbc", "audio" +/+ "iLBC-sh"), - ("imf", "audio" +/+ "x-mod"), ("it", "audio" +/+ "x-mod"), - ("jng", "image" +/+ "x-jng"), - ("jnlp", "application" +/+ "x-java-jnlp-file"), - ("jp2", "image" +/+ "jp2"), ("jpe", "image" +/+ "jpeg"), - ("jpeg", "image" +/+ "jpeg"), ("jpg", "image" +/+ "jpeg"), - ("js", "application" +/+ "x-javascript"), - ("kar", "audio" +/+ "midi"), - ("latex", "application" +/+ "x-latex"), - ("lha", "application" +/+ "octet-stream"), - ("lzh", "application" +/+ "octet-stream"), - ("m3u", "audio" +/+ "x-mpegurl"), ("m4a", "audio" +/+ "mp4a-latm"), - ("m4p", "audio" +/+ "mp4a-latm"), - ("m4u", "video" +/+ "vnd.mpegurl"), ("m4v", "video" +/+ "mpeg4"), - ("mac", "image" +/+ "x-macpaint"), - ("man", "application" +/+ "x-troff-man"), - ("mathml", "application" +/+ "mathml+xml"), - ("me", "application" +/+ "x-troff-me"), - ("med", "audio" +/+ "x-mod"), ("mesh", "model" +/+ "mesh"), - ("mid", "audio" +/+ "midi"), ("midi", "audio" +/+ "midi"), - ("mif", "application" +/+ "vnd.mif"), - ("mka", "video" +/+ "x-matroska"), - ("mkv", "video" +/+ "x-matroska"), ("mng", "video" +/+ "x-mng"), - ("mod", "audio" +/+ "x-mod"), ("mov", "video" +/+ "quicktime"), - ("movie", "video" +/+ "x-sgi-movie"), ("mp2", "audio" +/+ "mpeg"), - ("mp3", "audio" +/+ "mpeg"), ("mp4", "video" +/+ "mp4"), - ("mpc", "audio" +/+ "x-musepack"), ("mpe", "video" +/+ "mpeg"), - ("mpeg", "video" +/+ "mpeg"), ("mpg", "video" +/+ "mpeg"), - ("mpga", "audio" +/+ "mpeg"), - ("ms", "application" +/+ "x-troff-ms"), - ("msh", "model" +/+ "mesh"), ("mtm", "audio" +/+ "x-mod"), - ("mve", "video" +/+ "x-mve"), ("mxu", "video" +/+ "vnd.mpegurl"), - ("nar", "application" +/+ "x-nar"), - ("nc", "application" +/+ "x-netcdf"), - ("nist", "audio" +/+ "x-nist"), ("nuv", "video" +/+ "x-nuv"), - ("o", "application" +/+ "octet-stream"), - ("oda", "application" +/+ "oda"), ("ogg", "application" +/+ "ogg"), - ("ogm", "application" +/+ "ogg"), ("okt", "audio" +/+ "x-mod"), - ("paf", "audio" +/+ "x-paris"), - ("pbm", "image" +/+ "x-portable-bitmap"), - ("pct", "image" +/+ "pict"), ("pdb", "chemical" +/+ "x-pdb"), - ("pdf", "application" +/+ "pdf"), - ("pgm", "image" +/+ "x-portable-graymap"), - ("pgn", "application" +/+ "x-chess-pgn"), - ("pic", "image" +/+ "pict"), ("pict", "image" +/+ "pict"), - ("png", "image" +/+ "png"), - ("pnm", "image" +/+ "x-portable-anymap"), - ("pnt", "image" +/+ "x-macpaint"), - ("pntg", "image" +/+ "x-macpaint"), - ("ppm", "image" +/+ "x-portable-pixmap"), - ("ppt", "application" +/+ "vnd.ms-powerpoint"), - ("ps", "application" +/+ "postscript"), - ("qif", "image" +/+ "x-quicktime"), - ("qt", "video" +/+ "quicktime"), - ("qti", "image" +/+ "x-quicktime"), - ("qtif", "image" +/+ "x-quicktime"), - ("ra", "audio" +/+ "x-pn-realaudio"), - ("ram", "text" +/+ "uri-list"), ("rar", "application" +/+ "x-rar"), - ("ras", "image" +/+ "x-sun-raster"), - ("rdf", "application" +/+ "rdf+xml"), ("rgb", "image" +/+ "x-rgb"), - ("rm", "application" +/+ "vnd.rn-realmedia"), - ("roff", "application" +/+ "x-troff"), ("rtf", "text" +/+ "rtf"), - ("rtx", "text" +/+ "richtext"), ("s3m", "audio" +/+ "x-mod"), - ("sam", "audio" +/+ "x-mod"), ("sds", "audio" +/+ "x-sds"), - ("sf", "audio" +/+ "x-ircam"), ("sgm", "text" +/+ "sgml"), - ("sgml", "text" +/+ "sgml"), ("sh", "application" +/+ "x-sh"), - ("shar", "application" +/+ "x-shar"), - ("shn", "audio" +/+ "x-shorten"), ("sid", "audio" +/+ "x-sid"), - ("silo", "model" +/+ "mesh"), - ("sit", "application" +/+ "x-stuffit"), - ("skd", "application" +/+ "x-koan"), - ("skm", "application" +/+ "x-koan"), - ("skp", "application" +/+ "x-koan"), - ("skt", "application" +/+ "x-koan"), - ("smi", "application" +/+ "smil"), - ("smil", "application" +/+ "smil"), ("snd", "audio" +/+ "x-au"), - ("so", "application" +/+ "octet-stream"), - ("spc", "application" +/+ "x-spc"), - ("spl", "application" +/+ "x-futuresplash"), - ("src", "application" +/+ "x-wais-source"), - ("stm", "audio" +/+ "x-mod"), ("stx", "audio" +/+ "x-mod"), - ("sv4cpio", "application" +/+ "x-sv4cpio"), - ("sv4crc", "application" +/+ "x-sv4crc"), - ("svg", "image" +/+ "svg+xml"), ("svx", "audio" +/+ "x-svx"), - ("swf", "application" +/+ "x-shockwave-flash"), - ("swfl", "application" +/+ "x-shockwave-flash"), - ("t", "application" +/+ "x-troff"), - ("tar", "application" +/+ "x-tar"), - ("tbz", "application" +/+ "x-bzip"), - ("tcl", "application" +/+ "x-tcl"), - ("tex", "application" +/+ "x-tex"), - ("texi", "application" +/+ "x-texinfo"), - ("texinfo", "application" +/+ "x-texinfo"), - ("tgz", "application" +/+ "x-gzip"), ("tif", "image" +/+ "tiff"), - ("tiff", "image" +/+ "tiff"), ("tr", "application" +/+ "x-troff"), - ("ts", "video" +/+ "mpegts"), - ("tsv", "text" +/+ "tab-separated-values"), - ("tta", "audio" +/+ "x-ttafile"), ("txt", "text" +/+ "plain"), - ("ult", "audio" +/+ "x-mod"), - ("ustar", "application" +/+ "x-ustar"), - ("vcd", "application" +/+ "x-cdlink"), - ("voc", "audio" +/+ "x-voc"), ("vrml", "model" +/+ "vrml"), - ("vxml", "application" +/+ "voicexml+xml"), - ("w64", "audio" +/+ "x-w64"), ("wav", "audio" +/+ "x-wav"), - ("wbmp", "image" +/+ "vnd.wap.wbmp"), - ("wbxml", "application" +/+ "vnd.wap.wbxml"), - ("wm", "video" +/+ "x-ms-asf"), ("wma", "video" +/+ "x-ms-asf"), - ("wml", "text" +/+ "vnd.wap.wml"), - ("wmlc", "application" +/+ "vnd.wap.wmlc"), - ("wmls", "text" +/+ "vnd.wap.wmlscript"), - ("wmlsc", "application" +/+ "vnd.wap.wmlscriptc"), - ("wmv", "video" +/+ "x-ms-asf"), ("wrl", "model" +/+ "vrml"), - ("wv", "application" +/+ "x-wavpack"), - ("wvc", "application" +/+ "x-wavpack-correction"), - ("wvp", "application" +/+ "x-wavpack"), - ("xbm", "image" +/+ "x-xbitmap"), ("xcf", "image" +/+ "x-xcf"), - ("xht", "application" +/+ "xhtml+xml"), - ("xhtml", "application" +/+ "xhtml+xml"), - ("xls", "application" +/+ "vnd.ms-excel"), - ("xm", "audio" +/+ "x-mod"), ("xml", "application" +/+ "xml"), - ("xpm", "image" +/+ "x-xpixmap"), ("xsl", "application" +/+ "xml"), - ("xslt", "application" +/+ "xslt+xml"), - ("xul", "application" +/+ "vnd.mozilla.xul+xml"), - ("xwd", "image" +/+ "x-xwindowdump"), - ("xyz", "chemical" +/+ "x-xyz"), ("zip", "application" +/+ "zip")] + [("3gp", "application" "x-3gp"), ("669", "audio" "x-mod"), + ("Z", "application" "x-compress"), + ("a", "application" "x-ar"), ("ac3", "audio" "x-ac3"), + ("ai", "application" "postscript"), + ("aif", "audio" "x-aiff"), ("aifc", "audio" "x-aiff"), + ("aiff", "audio" "x-aiff"), ("amf", "audio" "x-mod"), + ("anx", "application" "ogg"), + ("ape", "application" "x-ape"), ("asc", "text" "plain"), + ("asf", "video" "x-ms-asf"), + ("atom", "application" "atom+xml"), ("au", "audio" "x-au"), + ("avi", "video" "x-msvideo"), + ("bcpio", "application" "x-bcpio"), + ("bin", "application" "octet-stream"), + ("bmp", "image" "bmp"), ("bz2", "application" "x-bzip"), + ("cabal", "text" "x-cabal"), + ("cdf", "application" "x-netcdf"), ("cgm", "image" "cgm"), + ("class", "application" "octet-stream"), + ("cpio", "application" "x-cpio"), + ("cpt", "application" "mac-compactpro"), + ("csh", "application" "x-csh"), ("css", "text" "css"), + ("dcr", "application" "x-director"), + ("dif", "video" "x-dv"), + ("dir", "application" "x-director"), + ("djv", "image" "vnd.djvu"), ("djvu", "image" "vnd.djvu"), + ("dll", "application" "octet-stream"), + ("dmg", "application" "octet-stream"), + ("dms", "application" "octet-stream"), + ("doc", "application" "msword"), ("dsm", "audio" "x-mod"), + ("dtd", "application" "xml-dtd"), ("dv", "video" "x-dv"), + ("dvi", "application" "x-dvi"), + ("dxr", "application" "x-director"), + ("eps", "application" "postscript"), + ("etx", "text" "x-setext"), + ("exe", "application" "octet-stream"), + ("ez", "application" "andrew-inset"), + ("far", "audio" "x-mod"), ("flac", "audio" "x-flac"), + ("flc", "video" "x-fli"), ("fli", "video" "x-fli"), + ("flv", "video" "x-flv"), ("gdm", "audio" "x-mod"), + ("gif", "image" "gif"), ("gram", "application" "srgs"), + ("grxml", "application" "srgs+xml"), + ("gtar", "application" "x-gtar"), + ("gz", "application" "x-gzip"), + ("hdf", "application" "x-hdf"), + ("hi", "application" "octet-stream"), + ("hqx", "application" "mac-binhex40"), + ("hs", "text" "x-haskell"), ("htm", "text" "html"), + ("html", "text" "html"), + ("ice", "x-conference" "x-cooltalk"), + ("ico", "image" "x-icon"), ("ics", "text" "calendar"), + ("ief", "image" "ief"), ("ifb", "text" "calendar"), + ("iff", "audio" "x-svx"), ("iges", "model" "iges"), + ("igs", "model" "iges"), ("ilbc", "audio" "iLBC-sh"), + ("imf", "audio" "x-mod"), ("it", "audio" "x-mod"), + ("jng", "image" "x-jng"), + ("jnlp", "application" "x-java-jnlp-file"), + ("jp2", "image" "jp2"), ("jpe", "image" "jpeg"), + ("jpeg", "image" "jpeg"), ("jpg", "image" "jpeg"), + ("js", "application" "x-javascript"), + ("kar", "audio" "midi"), + ("latex", "application" "x-latex"), + ("lha", "application" "octet-stream"), + ("lzh", "application" "octet-stream"), + ("m3u", "audio" "x-mpegurl"), ("m4a", "audio" "mp4a-latm"), + ("m4p", "audio" "mp4a-latm"), + ("m4u", "video" "vnd.mpegurl"), ("m4v", "video" "mpeg4"), + ("mac", "image" "x-macpaint"), + ("man", "application" "x-troff-man"), + ("mathml", "application" "mathml+xml"), + ("me", "application" "x-troff-me"), + ("med", "audio" "x-mod"), ("mesh", "model" "mesh"), + ("mid", "audio" "midi"), ("midi", "audio" "midi"), + ("mif", "application" "vnd.mif"), + ("mka", "video" "x-matroska"), + ("mkv", "video" "x-matroska"), ("mng", "video" "x-mng"), + ("mod", "audio" "x-mod"), ("mov", "video" "quicktime"), + ("movie", "video" "x-sgi-movie"), ("mp2", "audio" "mpeg"), + ("mp3", "audio" "mpeg"), ("mp4", "video" "mp4"), + ("mpc", "audio" "x-musepack"), ("mpe", "video" "mpeg"), + ("mpeg", "video" "mpeg"), ("mpg", "video" "mpeg"), + ("mpga", "audio" "mpeg"), + ("ms", "application" "x-troff-ms"), + ("msh", "model" "mesh"), ("mtm", "audio" "x-mod"), + ("mve", "video" "x-mve"), ("mxu", "video" "vnd.mpegurl"), + ("nar", "application" "x-nar"), + ("nc", "application" "x-netcdf"), + ("nist", "audio" "x-nist"), ("nuv", "video" "x-nuv"), + ("o", "application" "octet-stream"), + ("oda", "application" "oda"), ("ogg", "application" "ogg"), + ("ogm", "application" "ogg"), ("okt", "audio" "x-mod"), + ("paf", "audio" "x-paris"), + ("pbm", "image" "x-portable-bitmap"), + ("pct", "image" "pict"), ("pdb", "chemical" "x-pdb"), + ("pdf", "application" "pdf"), + ("pgm", "image" "x-portable-graymap"), + ("pgn", "application" "x-chess-pgn"), + ("pic", "image" "pict"), ("pict", "image" "pict"), + ("png", "image" "png"), + ("pnm", "image" "x-portable-anymap"), + ("pnt", "image" "x-macpaint"), + ("pntg", "image" "x-macpaint"), + ("ppm", "image" "x-portable-pixmap"), + ("ppt", "application" "vnd.ms-powerpoint"), + ("ps", "application" "postscript"), + ("qif", "image" "x-quicktime"), + ("qt", "video" "quicktime"), + ("qti", "image" "x-quicktime"), + ("qtif", "image" "x-quicktime"), + ("ra", "audio" "x-pn-realaudio"), + ("ram", "text" "uri-list"), ("rar", "application" "x-rar"), + ("ras", "image" "x-sun-raster"), + ("rdf", "application" "rdf+xml"), ("rgb", "image" "x-rgb"), + ("rm", "application" "vnd.rn-realmedia"), + ("roff", "application" "x-troff"), ("rtf", "text" "rtf"), + ("rtx", "text" "richtext"), ("s3m", "audio" "x-mod"), + ("sam", "audio" "x-mod"), ("sds", "audio" "x-sds"), + ("sf", "audio" "x-ircam"), ("sgm", "text" "sgml"), + ("sgml", "text" "sgml"), ("sh", "application" "x-sh"), + ("shar", "application" "x-shar"), + ("shn", "audio" "x-shorten"), ("sid", "audio" "x-sid"), + ("silo", "model" "mesh"), + ("sit", "application" "x-stuffit"), + ("skd", "application" "x-koan"), + ("skm", "application" "x-koan"), + ("skp", "application" "x-koan"), + ("skt", "application" "x-koan"), + ("smi", "application" "smil"), + ("smil", "application" "smil"), ("snd", "audio" "x-au"), + ("so", "application" "octet-stream"), + ("spc", "application" "x-spc"), + ("spl", "application" "x-futuresplash"), + ("src", "application" "x-wais-source"), + ("stm", "audio" "x-mod"), ("stx", "audio" "x-mod"), + ("sv4cpio", "application" "x-sv4cpio"), + ("sv4crc", "application" "x-sv4crc"), + ("svg", "image" "svg+xml"), ("svx", "audio" "x-svx"), + ("swf", "application" "x-shockwave-flash"), + ("swfl", "application" "x-shockwave-flash"), + ("t", "application" "x-troff"), + ("tar", "application" "x-tar"), + ("tbz", "application" "x-bzip"), + ("tcl", "application" "x-tcl"), + ("tex", "application" "x-tex"), + ("texi", "application" "x-texinfo"), + ("texinfo", "application" "x-texinfo"), + ("tgz", "application" "x-gzip"), ("tif", "image" "tiff"), + ("tiff", "image" "tiff"), ("tr", "application" "x-troff"), + ("ts", "video" "mpegts"), + ("tsv", "text" "tab-separated-values"), + ("tta", "audio" "x-ttafile"), ("txt", "text" "plain"), + ("ult", "audio" "x-mod"), + ("ustar", "application" "x-ustar"), + ("vcd", "application" "x-cdlink"), + ("voc", "audio" "x-voc"), ("vrml", "model" "vrml"), + ("vxml", "application" "voicexml+xml"), + ("w64", "audio" "x-w64"), ("wav", "audio" "x-wav"), + ("wbmp", "image" "vnd.wap.wbmp"), + ("wbxml", "application" "vnd.wap.wbxml"), + ("wm", "video" "x-ms-asf"), ("wma", "video" "x-ms-asf"), + ("wml", "text" "vnd.wap.wml"), + ("wmlc", "application" "vnd.wap.wmlc"), + ("wmls", "text" "vnd.wap.wmlscript"), + ("wmlsc", "application" "vnd.wap.wmlscriptc"), + ("wmv", "video" "x-ms-asf"), ("wrl", "model" "vrml"), + ("wv", "application" "x-wavpack"), + ("wvc", "application" "x-wavpack-correction"), + ("wvp", "application" "x-wavpack"), + ("xbm", "image" "x-xbitmap"), ("xcf", "image" "x-xcf"), + ("xht", "application" "xhtml+xml"), + ("xhtml", "application" "xhtml+xml"), + ("xls", "application" "vnd.ms-excel"), + ("xm", "audio" "x-mod"), ("xml", "application" "xml"), + ("xpm", "image" "x-xpixmap"), ("xsl", "application" "xml"), + ("xslt", "application" "xslt+xml"), + ("xul", "application" "vnd.mozilla.xul+xml"), + ("xwd", "image" "x-xwindowdump"), + ("xyz", "chemical" "x-xyz"), ("zip", "application" "zip")]