classification
Title: Add mimetype for extension .mjs
Type: enhancement Stage: patch review
Components: Library (Lib) Versions: Python 3.8, Python 3.7, Python 3.6, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: bradleymeck
Priority: normal Keywords: patch

Created on 2017-10-06 15:06 by bradleymeck, last changed 2017-10-06 15:27 by bradleymeck.

Pull Requests
URL Status Linked Edit
PR 3908 open bradleymeck, 2017-10-06 15:27
Messages (1)
msg303824 - (view) Author: Bradley Meck (bradleymeck) * Date: 2017-10-06 15:06
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).
History
Date User Action Args
2017-10-06 15:27:13bradleymecksetkeywords: + patch
stage: patch review
pull_requests: + pull_request3879
2017-10-06 15:06:33bradleymeckcreate