text/x-ocaml

OCaml source code

DescriptionOCaml source code
File extensions.ml, .mli
Based ontext/plain

Frequently asked questions

What is the MIME type text/x-ocaml?

text/x-ocaml denotes “OCaml source code”.

Which file extension does text/x-ocaml use?

Files of type text/x-ocaml usually end in .ml and .mli.

How does a web server serve text/x-ocaml correctly?

With the header Content-Type: text/x-ocaml. In nginx: types { text/x-ocaml ml mli; }; in Apache: AddType text/x-ocaml .ml .mli.

Nearby entries