Skip to content

Instantly share code, notes, and snippets.

@tushortz
Last active May 19, 2023 05:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tushortz/0f7d88470982852fdc19bbf2d7afeda9 to your computer and use it in GitHub Desktop.
Save tushortz/0f7d88470982852fdc19bbf2d7afeda9 to your computer and use it in GitHub Desktop.
{
".3g2": "video/3gpp2",
".3gp": "video/3gpp",
".7z": "application/x-7z-compressed",
".aac": "audio/aac",
".abw": "application/x-abiword",
".afm": "application/x-font-type1",
".ai": "application/postscript",
".aiff": "audio/x-aiff",
".arc": "application/x-freearc",
".avi": "video/x-msvideo",
".avif": "image/avif",
".azw": "application/vnd.amazon.ebook",
".bin": "application/octet-stream",
".bmp": "image/bmp",
".bz": "application/x-bzip",
".bz2": "application/x-bzip2",
".cda": "application/x-cdf",
".csh": "application/x-csh",
".css": "text/css",
".csv": "text/csv",
".doc": "application/msword",
".docx": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
".eot": "application/vnd.ms-fontobject",
".eps": "application/postscript ",
".epub": "application/epub+zip",
".f4v": "video/x-f4v",
".fla": "application/x-shockwave-flash",
".flv": "video/x-flv",
".fpx": "image/vnd.fpx",
".gif": "image/gif",
".gz": "application/gzip",
".htm": "text/html",
".html": "text/html",
".icc": "application/vnd.iccprofile",
".icm": "application/vnd.iccprofile",
".ico": "image/vnd.microsoft.icon",
".ics": "text/calendar",
".indd": "application/x-indesign",
".jar": "application/java-archive",
".jpeg": "image/jpeg",
".jpg": "image/jpeg",
".js": "text/javascript",
".json": "application/json",
".jsonld": "application/ld+json",
".m2v": "video/mpeg",
".m4v": "video/x-m4v",
".mid": "audio/midi",
".midi": "audio/x-midi",
".mjs": "text/javascript",
".mov": "video/quicktime",
".mp3": "audio/mpeg",
".mp4": "video/mp4",
".mpeg": "video/mpeg",
".mpg": "video/mpeg",
".mpkg": "application/vnd.apple.installer+xml",
".mts": "model/vnd.mts",
".odp": "application/vnd.oasis.opendocument.presentation",
".ods": "application/vnd.oasis.opendocument.spreadsheet",
".odt": "application/vnd.oasis.opendocument.text",
".oga": "audio/ogg",
".ogv": "video/ogg",
".ogx": "application/ogg",
".opus": "audio/opus",
".otf": "application/x-font-otf",
".pdf": "application/pdf",
".pfb": "application/x-font-type1",
".pfm": "application/x-font-type1",
".php": "application/x-httpd-php",
".pict": "image/x-pict",
".png": "image/png",
".ppt": "application/vnd.ms-powerpoint",
".pptx": "application/vnd.openxmlformats-officedocument.presentationml.presentation",
".ps": "application/postscript",
".psd": "image/vnd.adobe.photoshop",
".rar": "application/vnd.rar",
".rtf": "application/rtf",
".sh": "application/x-sh",
".svg": "image/svg+xml",
".swf": "application/x-shockwave-flash",
".tar": "application/x-tar",
".tif": "image/tiff",
".tiff": "image/tiff",
".ts": "video/mp2t",
".ttc": "application/x-font-ttf",
".ttf": "application/x-font-ttf",
".txt": "text/plain",
".vob": "video/dvd",
".vsd": "application/vnd.visio",
".vtt": "text/vtt",
".wav": "audio/wav",
".weba": "audio/webm",
".webm": "video/webm",
".webp": "image/webp",
".wma": "audio/x-ms-wma",
".wmv": "video/x-ms-wmv",
".woff": "font/woff",
".woff2": "font/woff2",
".xhtml": "application/xhtml+xml",
".xls": "application/vnd.ms-excel",
".xlsx": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
".xml": "application/xml",
".xul": "application/vnd.mozilla.xul+xml",
".zip": "application/zip ",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment