Is there a default MIME Type?
Question by Guest | Last update on 2024-01-03 | Created on 2014-12-13
At the moment, I am writing an application that should find out the MIME Types of files or to be more precise for different file formats respectively file types.
Of course, considering the endless amount of different file formats, it is not possible to make the program detect the MIME type of each file that is imaginable. This is the reason why I am searching for something like a "default" or "standard" MIME Type that I can use for each unknown file type the tool will be confronted with.
Unfortunately, in all of those lists, you can find around the Internet, there are defined and listed MIME Types for each possible file extension you can think about, but there is never mentioned a default type. Is there something?
Related Topics
MIME Types of Microsoft Office File Formats
Info | 0 Comments
HTML: Preassign HTML Form with Data
Tutorial | 0 Comments
MIME Type of INI Files
Question | 1 Answer
CSS: Include CSS Stylesheets in HTML
Tutorial | 0 Comments
How to resize Image before Upload in Browser
Tutorial | 13 Comments
MySQL: Add new Column to a Table
Tutorial | 0 Comments
PHP: Convert Integer Variable to String Variable
Tutorial | 0 Comments
Important Note
Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.
Participate
Ask your own question or write your own article on askingbox.com. That’s how it’s done.
In doubt, you can just use the MIME-Type application/octet-stream for unknown files.
It is better to use this official MIME Type rather than inventing any own types such as application/xyzabc or to refer to unofficial types leading to problems when some of the programs involved cannot handle those types.
With application/octet-stream, you just say, that there is an arbitrary array of bytes and the receiver can decide what to do with them.
Last update on 2024-01-03 | Created on 2014-12-16