[New-bugs-announce] [issue31715] Add mimetype for extension .mjs

Bradley Meck report at bugs.python.org
Fri Oct 6 11:06:33 EDT 2017


New submission from Bradley Meck <bradley.meck at gmail.com>:

I propose to add a mapping of file extension .mjs to mime type "text/javascript".
The "text/javascript" MIME is registered in https://www.iana.org/assignments/media-types, was moved to *should* as the MIME in HTML ( https://github.com/whatwg/html/pull/3096), and is being updated by https://datatracker.ietf.org/doc/draft-bfarias-javascript-mjs/

This extension is being used by Node.js for support of ECMAScript Modules (ESM).

----------
components: Library (Lib)
messages: 303824
nosy: Bradley Meck
priority: normal
severity: normal
status: open
title: Add mimetype for extension .mjs
type: enhancement
versions: Python 2.7, Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31715>
_______________________________________


More information about the New-bugs-announce mailing list