File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -76,13 +76,19 @@ and the values being an object with the following keys:
76
76
77
77
To update the build, run ` npm run build ` .
78
78
79
- ## Adding Custom Media Types
79
+ ### Adding Custom Media Types
80
80
81
81
The best way to get new media types included in this library is to register
82
82
them with the IANA. The community registration procedure is outlined in
83
83
[ RFC 6838 section 5] ( http://tools.ietf.org/html/rfc6838#section-5 ) . Types
84
84
registered with the IANA are automatically pulled into this library.
85
85
86
+ If that is not possible / feasible, they can be added directly here as a
87
+ "custom" type. To do this, it is required to have a primary source that
88
+ definitively lists the media type. If an extension is going to be listed as
89
+ associateed with this media type, the source must definitively link the
90
+ media type and extension as well.
91
+
86
92
[ coveralls-image ] : https://badgen.net/coveralls/c/github/jshttp/mime-db/master
87
93
[ coveralls-url ] : https://coveralls.io/r/jshttp/mime-db?branch=master
88
94
[ node-image ] : https://badgen.net/npm/node/mime-db
You can’t perform that action at this time.
0 commit comments