[issue34875] Change .js mime to "text/javascript"

2019-06-17 Thread Myles Borins
Myles Borins added the comment: Hey All, I'd like to reopen this. We are almost done with the IETF standardization of .mjs, and part of this process is making obsolete application/javascript in favor of text/javascript. --> https://datatracker.ietf.org/doc/draft-ietf-dispatch-ja

[issue31715] Add mimetype for extension .mjs

2018-12-05 Thread Myles Borins
Myles Borins added the comment: Thanks for chiming in R. David Murray > Think of the absence of the mimetype rule as a bug, rather than its presence > as a feature. Very much appreciate this sentiment. I've opened backports to simplify the process if y'all decide to appr

[issue31715] Add mimetype for extension .mjs

2018-12-05 Thread Myles Borins
Change by Myles Borins : -- pull_requests: +10219 ___ Python tracker <https://bugs.python.org/issue31715> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31715] Add mimetype for extension .mjs

2018-12-05 Thread Myles Borins
Change by Myles Borins : -- pull_requests: +10218 ___ Python tracker <https://bugs.python.org/issue31715> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31715] Add mimetype for extension .mjs

2018-12-05 Thread Myles Borins
Change by Myles Borins : -- pull_requests: +10217 ___ Python tracker <https://bugs.python.org/issue31715> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31715] Add mimetype for extension .mjs

2018-12-05 Thread Myles Borins
Myles Borins added the comment: Also wanted to point out some prior art of a mimetype (json) being backported to all active runtimes https://bugs.python.org/issue30824#msg297527 -- ___ Python tracker <https://bugs.python.org/issue31

[issue31715] Add mimetype for extension .mjs

2018-12-05 Thread Myles Borins
Myles Borins added the comment: Thanks for cc'ing the other folks. I help run the Node.js release + LTS team... so I 100% understand the balance necessary to keep a stable API. In this particular case I would gauge that this has a near 0 case for breakage, but leaving it unpatched

[issue31715] Add mimetype for extension .mjs

2018-12-05 Thread Myles Borins
Myles Borins added the comment: There are a number of tutorials that suggest using the .mjs extension for working with ESM modules for front end development. https://developers.google.com/web/fundamentals/primers/modules <https://developers.google.com/web/fundamentals/primers/modules>

[issue31715] Add mimetype for extension .mjs

2018-12-05 Thread Myles Borins
Myles Borins added the comment: I see that when this landed it appears that it was removed from landing on "Python 2.7, Python 3.6, Python 3.7". Is there any chance to revisit this decision? I dug into the mimetype code and it doesn't appear that there is a way to rely on o

[issue34875] Change .js mime to "text/javascript"

2018-10-03 Thread Myles Borins
Myles Borins added the comment: There is a IETF proposal that would make "text/javascript" no longer obsolete. Will revisit at the point this lands https://datatracker.ietf.org/doc/draft-ietf-dispatch-javascript-mjs/ -- ___ Python track

[issue34875] Change .js mime to "test/javascript"

2018-10-02 Thread Myles Borins
Change by Myles Borins : -- keywords: +patch pull_requests: +9066 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34875> ___ ___ Py

[issue34875] Change .js mime to "test/javascript"

2018-10-02 Thread Myles Borins
New submission from Myles Borins : I propose to change the mapping of file extension .js to mime type "text/javascript" from "application/javascript. "text/javascript" is the currently documented best practice in the whatwg HTML spec. https://html.spec.whatwg.org