From d8755ac287a477499b2affd6d3464cb01c4c9cd1 Mon Sep 17 00:00:00 2001 From: "Dmitry Sharshakov aka. sh7dm" Date: Mon, 31 Dec 2018 12:38:32 +0300 Subject: [PATCH] Add more MIME types (denoland/deno_std#56) Original: https://github.com/denoland/deno_std/commit/c9d6028be8fd121ef77ab7980a2f65d57daa7e12 --- net/extension_map.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/net/extension_map.json b/net/extension_map.json index 2fbe0c8854..9152a228ab 100644 --- a/net/extension_map.json +++ b/net/extension_map.json @@ -1,5 +1,6 @@ { "": "application/octet-stream", + ".7z": "application/x-7z-compressed", ".aac": "audio/aac", ".abw": "application/x-abiword", ".arc": "application/octet-stream", @@ -18,6 +19,7 @@ ".epub": "application/epub+zip", ".es": "application/ecmascript", ".gif": "image/gif", + ".gz": "application/gzip", ".htm": "text/html", ".html": "text/html", ".ico": "image/x-icon", @@ -27,10 +29,14 @@ ".jpg": "image/jpeg", ".js": "application/javascript", ".json": "application/json", + ".md": "text/markdown", ".mid": "audio/x-midi", ".midi": "audio/x-midi", + ".mp3": "audio/mpeg", + ".mp4": "video/mpeg", ".mpeg": "video/mpeg", ".mpkg": "application/vnd.apple.installer+xml", + ".less": "text/less", ".odp": "application/vnd.oasis.opendocument.presentation", ".ods": "application/vnd.oasis.opendocument.spreadsheet", ".odt": "application/vnd.oasis.opendocument.text", @@ -45,11 +51,15 @@ ".rar": "application/x-rar-compressed", ".rtf": "application/rtf", ".sh": "application/x-sh", + ".sass": "text/x-sass", + ".scss": "text/x-scss", ".svg": "image/svg+xml", ".swf": "application/x-shockwave-flash", ".tar": "application/x-tar", + ".tar.gz": "application/tar+gzip", ".tif": "image/tiff", ".tiff": "image/tiff", + ".toml": "application/toml", ".ts": "application/typescript", ".ttf": "font/ttf", ".txt": "text/plain",