I'm using this class to help to process media files. But when I get the content type of a .mp3 file, it returns audio/mpeg correctly. But when doing the reverse process, it returns .mpga extension instead .mp3, wich doesn't works in iOS.
It occurs because of the order of the extensions in the mime.types file. So I was wondering if this specific order follows any critery or can be changed. If it can, I can make a PR with the changes.
I'm using this class to help to process media files. But when I get the content type of a .mp3 file, it returns audio/mpeg correctly. But when doing the reverse process, it returns .mpga extension instead .mp3, wich doesn't works in iOS.
It occurs because of the order of the extensions in the mime.types file. So I was wondering if this specific order follows any critery or can be changed. If it can, I can make a PR with the changes.