Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The extension for video/quicktime should map to .mov, not .qt #164

Closed
timcosta opened this issue Jul 14, 2017 · 1 comment
Closed

The extension for video/quicktime should map to .mov, not .qt #164

timcosta opened this issue Jul 14, 2017 · 1 comment

Comments

@timcosta
Copy link

.qt is a deprecated extension, and while this was once accurate it means that looking up the mime for .mov and then getting the extension for the returned video/quicktime results in mismatched extensions.

@broofa
Copy link
Owner

broofa commented Sep 15, 2017

Finally got a chance to look into this.

The problem is that the qt extension is named first in both mime-db and Apache mime types file.

This is where mime-db draws it's type info from, and it maintains the extension ordering. Both tje 'mime' and mime-types module prefer the first extension when mapping type -> extension. And I suspect neither I nor the mime-types authors are interested in special casing this in our code. The solution really needs to be in either mime-db or Apache's types file.

So... I'd suggest you file an issue with mime-db to that affect. You might also file a bug with the Apache project, but I don't know how willing they'll be to change there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants