Top "Mime-types" questions

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

text/javascript vs application/javascript

I am curious about the semantics of the MIME types application/javascript versus text/javascript. Obviously, one is supposed to …

javascript mime-types
Is there a "default" MIME type?

Is there what could be considered a "default" mimetype? I've seen "unknown/unknown" and "application/binary". But is there a …

mime-types mime
Getting mime type from file name in php

I have the following function to produce the mime type from a file name: function get_mime_type($file) { if (…

php mime-types
Android available mime-types?

After several searches online, I couldn't find a place that could tell me every existent mime type for different types …

android mime-types
Why am I getting mime-type of .csv file as "application/octet-stream"?

I'm working on a PHP application that must import an excel file into MySQL. So I need to convert the …

php csv http-headers mime-types file-format
YAML media type?

What is the most appropriate media type (formally MIME type) to use when sending data structured with YAML over HTTP …

http mime mime-types yaml
Declaring mime type for html-email

I want to create a html email and I've read a lot about how to do it. There is one …

mime-types html-email
List of ALL MimeTypes on the Planet, mapped to File Extensions?

Is there a resource that lists ALL the mimeTypes in existence? I have found a few places with under 1000 mimeTypes, …

mime-types file-extension
What to set as mimetype for CSV files to open in spreadsheet applications

My application lets users download their data as CSV files. These are supposed to open in spreadsheet applications. On a …

http csv mime-types
What is the correct MIME type to use for an RSS feed?

Is one MIME type preferable to ensure compatibility with RSS readers and other scrapers? The options seem to be: text/…

rss mime-types