New submission from Bradley Meck <bradley.m...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue31715>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to