File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
Misc/NEWS.d/next/Core_and_Builtins Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 451451mimetypes
452452---------
453453
454+ * Add ``application/node `` MIME type for ``.cjs `` extension. (Contributed by John Franey in :gh: `140937 `.)
454455* Add ``application/toml ``. (Contributed by Gil Forcada in :gh: `139959 `.)
455456* Rename ``application/x-texinfo `` to ``application/texinfo ``.
456457 (Contributed by Charlie Lin in :gh: `140165 `)
Original file line number Diff line number Diff line change @@ -486,6 +486,7 @@ def _default_mime_types():
486486 '.wiz' : 'application/msword' ,
487487 '.nq' : 'application/n-quads' ,
488488 '.nt' : 'application/n-triples' ,
489+ '.cjs' : 'application/node' ,
489490 '.bin' : 'application/octet-stream' ,
490491 '.a' : 'application/octet-stream' ,
491492 '.dll' : 'application/octet-stream' ,
Original file line number Diff line number Diff line change 1+ Add ``.cjs `` to :mod: `mimetypes ` to give CommonJS modules a MIME type of
2+ ``application/node ``.
You can’t perform that action at this time.
0 commit comments