What is the type of contents of the .ini file?

I want to create a dynamically created .ini file available for download, is there a standard value for Content-Type .ini files?

I found several places saying this text/plain , but I have a little doubt.

+8
mime-types
source share
1 answer

A check using the IANA MIME Media Types list shows that .ini not listed in the list of media types (and, in particular, in the list of types of text media .)

Furthermore, the Wikipedia entry in the .ini files explains that the .ini files are actually just "plain text files."

One way to verify these results is to run the following command in a given .ini file (at least in * nix):

 $ file --mime-type php.ini.default 

which gives us the following result:

 php.ini.default: text/plain 
+11
source share

All Articles