Top "Mime-types" questions

A MIME type after MIME (Multipurpose Internet Mail Extensions) is a two-part identifier for file formats on the Internet.

Stylesheet not loaded because of MIME-type

I'm working on a website that uses gulp to compile and browser sync to keep the browser synchronised with my …

html css gulp mime-types browser-sync
What is a correct mime type for docx, pptx etc?

For older *.doc documents this was enough: header("Content-Type: application/msword"); What mime type should I use for new docx …

excel ms-word ms-office powerpoint mime-types
What is correct content-type for excel files?

I want excel files on a website to open in Excel when clicked, not get saved on desktop, or get …

excel mime-types
What does "Content-type: application/json; charset=utf-8" really mean?

When I make a POST request with a JSON body to my REST service I include Content-type: application/json; charset=…

character-encoding mime-types
Chrome says "Resource interpreted as script but transferred with MIME type text/plain.", what gives?

In FF and all, my javascript works fine. But in Chrome it gives this message: Resource interpreted as script but …

google-chrome mime-types
What MIME type should I use for CSV?

I've seen application/csv used and also text/csv. Is there a difference? Does it matter which as long as …

csv http-headers mime-types content-type
File input 'accept' attribute - is it useful?

Implementing a file upload under html is fairly simple, but I just noticed that there is an 'accept' attribute that …

html filter cross-browser mime-types
Is the MIME type 'image/jpg' the same as 'image/jpeg'?

Pretty simple question but can't seem to find it anywhere online. I'm trying to make a program that depending on …

file mime-types
How to check file MIME type with javascript before upload?

I have read this and this questions which seems to suggest that the file MIME type could be checked using …

javascript html file-upload mime-types
.rar, .zip files MIME Type

I'm developing a simple php upload script, and users can upload only ZIP and RAR files. What MIME types I …

php zip mime-types rar