Skip to content

Commit 5735d04

Browse files
nbougalisdougwilson
authored andcommitted
Add application/toml with extension .toml
closes jshttp#168
1 parent 80d7bfd commit 5735d04

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

HISTORY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ unreleased
22
==========
33

44
* Add new upstream MIME types
5+
* Add `application/toml` with extension `.toml`
56

67
1.40.0 / 2019-04-20
78
===================

db.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1487,6 +1487,10 @@
14871487
"application/tnauthlist": {
14881488
"source": "iana"
14891489
},
1490+
"application/toml": {
1491+
"compressible": true,
1492+
"extensions": ["toml"]
1493+
},
14901494
"application/trickle-ice-sdpfrag": {
14911495
"source": "iana"
14921496
},

src/custom-types.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,13 @@
164164
"application/tar": {
165165
"compressible": true
166166
},
167+
"application/toml": {
168+
"extensions": ["toml"],
169+
"sources" : [
170+
"https://github.com/toml-lang/toml"
171+
],
172+
"compressible": true
173+
},
167174
"application/vnd.android.package-archive": {
168175
"compressible": false
169176
},

0 commit comments

Comments
 (0)