3 ms·
> On Windows only, the mime package now ignores a registry entry recording that the extension .js should have MIME type text/plain. As someone whose primary de
by chocolatkey 4y ago
> On Windows only, the mime package now ignores a registry entry recording that the extension .js should have MIME type text/plain.
As someone whose primary dev machine runs Windows, this is a very convenient improvement to a pitfall I ran into. I probably won't stop manually adding the JS mimetype for a while though.
- Gibbon1 4y agoI got no dog in this hunt but I've come to really despise tools that grab random stuff from the registry or the environment. There are a myriad of ways that bites developers that just want stuff to work.
- LukeShu 4y agoI mean mapping of file extension to filetype is fine as an OS feature. On Unix that's /etc/mime.types (or /usr/share/misc/mime.types, depending on the system), on Windows that's the registry. What I despise is are tools that vomit random stuff in to your config, whether that's the registry or ~/.config/.