Apparently, the preferred mime-type for javascript is changing...
See original GitHub issueIn this thread, and more specifically here, apparently the long-held preference of application/javascript
is switching to text/javascript
.
It would be appreciated if this utility would update accordingly.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
mime: change JavaScript type to text/javascript · Issue #32351
TL;DR application/javascript is going to be obsolete and text/javascript will be the recommended mimetype. The media type registrations herein ...
Read more >When to use the JavaScript MIME type application/javascript ...
The problem with Javascript's MIME type is that there hasn't been a standard for years. Now we've got application/javascript as an official ...
Read more >65995 – Change JavaScript MIME type from application ...
The default MIME type for JavaScript in Tomcat is application/javascript. This has been obsoleted and should be replaced with ...
Read more >Windows MIME type detection pitfalls - タリ
It seems that django-debug-toolbar 3.0 started loading the scripts ... its MIME type (“text/plain”) is not a valid JavaScript MIME type.
Read more >Properly configuring server MIME types - MDN Web Docs
Server default configurations vary wildly and set different default MIME-type values for files with no defined content type.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @broofa , I will let you know. I recently went to make a release, but found nvm is broken for our build. I opened an issue on nvm and the issue is fixed, but nvm has not yet made a release with the fix. I will get a new mime-db releaased as soon as that happens 👍
Interesting. Please file this with the https://github.com/jshttp/mime-db project. That’s where this module pulls it’s MIME definitions from.