# Additional types to add to MIME::Types # # MIME types are used to set the Content-Type of raw binary blobs. All text # blobs are served as text/plain regardless of their type to ensure they # open in the browser rather than downloading. # # The encoding helps determine whether a file should be treated as plain # text or binary. By default, a mime type's encoding is base64 (binary). # These types will show a "View Raw" link. To force a type to render as # plain text, set it to 8bit for UTF-8. text/* types will be treated as # text by default. # # @ : # # type - mediatype/subtype # extensions - comma seperated extension list # encoding - base64 (binary), 7bit (ASCII), 8bit (UTF-8), or # quoted-printable (Printable ASCII). # # Follows same format as mime-types data file # https://github.com/halostatue/mime-types/blob/master/lib/mime/types.rb.data # # Any additions or modifications (even trivial) should have corresponding # test change in `test/test_mime.rb`. # TODO: Lookup actual types application/octet-stream @a,blend,gem,graffle,ipa,lib,mcz,nib,o,ogv,pfx,pigx,plgx,psd,sib,spl,sqlite3,swc,ucode,xpi # Please keep this list alphabetized application/java-archive @ear,war application/netcdf :8bit application/ogg @ogg application/vnd.adobe.air-application-installer-package+zip @air application/vnd.mozilla.xul+xml :8bit application/vnd.oasis.opendocument.presentation @odp application/vnd.oasis.opendocument.spreadsheet @ods application/vnd.oasis.opendocument.text @odt application/vnd.openofficeorg.extension @oxt application/vnd.openxmlformats-officedocument.presentationml.presentation @pptx application/x-chrome-extension @crx application/x-iwork-keynote-sffkey @key application/x-iwork-numbers-sffnumbers @numbers application/x-iwork-pages-sffpages @pages application/x-ms-xbap @xbap :8bit application/x-parrot-bytecode @pbc application/x-shockwave-flash @swf application/x-silverlight-app @xap application/x-supercollider @sc :8bit application/x-troff-ms :8bit application/x-wais-source :8bit application/xaml+xml @xaml :8bit image/x-icns @icns text/cache-manifest @manifest text/plain @cu,cxx text/x-nemerle @n text/x-nimrod @nim text/x-ocaml @ml,mli,mll,mly,sig,sml text/x-rust @rs,rc text/x-scheme @rkt,scm,sls,sps,ss # OSP VisualCulture application/x-opentype @otf application/x-truetype @ttf application/postscript @ps @eps :base64 application/vnd.scribus @sla