MIME Type of INI Files
Question by Guest | 2015-03-16 at 23:09
Does someone know, what kind of MIME Type an INI File is?
Apparently, this type of configuration file is indeed a pure text file format, which would justify a MIME Type of "text/ini", as it is the case with other text file formats such as "text/html" or "text/css".
On the other hand, compared to "text/html" and "text/css", the type "text/ini" seems not to be listed officially. So, should I rather use "text/plain for an INI File or does someone have another better idea?
Related Topics
MIME Types of Microsoft Office File Formats
Info | 0 Comments
PHP: Upload of large Files
Tutorial | 0 Comments
Delphi: Ini Files: Problems with Quotes
Question | 1 Answer
Is there a default MIME Type?
Question | 1 Answer
Website Performance: Deliver JavaScript and CSS files compressed to reduce loading times
Tutorial | 0 Comments
Rewrite Text Files with a fixed Line Length
Tutorial | 0 Comments
Repair Text Files with mixed Line Breaks
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.
Since "text/ini" is not an official MIME type is, I would definitely tend to "text/plain".
That there are defined the MIME Types "text/html" and "text/css" while "text/ini" is not defined, despite all of this file format types are plain text files, is probably because it is very important to distinguish between HTML and CSS (for example in browser or e-mail applications) while other text files are just displayed as text without interpreting them for example as HTML. This would be another argument for recommending "text/plain" as MIME Type of an INI file.
Another thing is, that files with an INI structure, are often also saved with the file extension .txt, .cfg or .conf, so plain text would be more justified here.
Last update on 2021-05-13 | Created on 2015-03-17