.toml TOML document
Texte et code source
| Type MIME | application/toml |
|---|---|
| Description | TOML document |
| Sigle | TOML – Tom's Obvious Minimal Language |
| Catégorie | Texte et code source |
| Basé sur | text/plain |
Questions fréquentes
Qu’est-ce qu’un fichier .toml ?
Un fichier .toml est un format de type « TOML document » (type MIME application/toml). TOML signifie Tom's Obvious Minimal Language.
Comment ouvrir un fichier .toml ?
Avec n’importe quel éditeur de texte : Notepad++, Visual Studio Code, ou gedit et vim sous Linux. Le fichier contient du texte lisible, éventuellement du code source ou une configuration.
Comment reconnaître un vrai fichier .toml ?
Aucune signature fixe en début de fichier n’est enregistrée pour ce format ; il est surtout reconnu par son extension. Sous Linux et macOS, file --mime-type example.toml affiche le type supposé.
Sur quel format .toml est-il basé ?
Techniquement, un fichier .toml est un sous-type de « Plain text document » (text/plain) ; les programmes conçus pour ce format de base peuvent donc souvent le lire aussi.
Quel type MIME correspond à .toml ?
Le type MIME est application/toml. Dans le serveur web Apache : AddType application/toml .toml ; dans nginx : types { application/toml toml; }.