text/x-ocaml
Codice sorgente OCaml
| Descrizione | Codice sorgente OCaml |
|---|---|
| Estensioni | .ml, .mli |
| Basato su | text/plain |
Domande frequenti
Che cos’è il tipo MIME text/x-ocaml?
text/x-ocaml indica «Codice sorgente OCaml».
Quale estensione usa text/x-ocaml?
I file di tipo text/x-ocaml terminano di solito con .ml e .mli.
Come fa un server web a servire correttamente text/x-ocaml?
Con l’intestazione Content-Type: text/x-ocaml. In nginx: types { text/x-ocaml ml mli; }; in Apache: AddType text/x-ocaml .ml .mli.