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

Why 'audio/flac' hasn't been added to _mimes? #235

Closed
lazka opened this issue Oct 21, 2015 · 4 comments
Closed

Why 'audio/flac' hasn't been added to _mimes? #235

lazka opened this issue Oct 21, 2015 · 4 comments

Comments

@lazka
Copy link
Member

@lazka lazka commented Oct 21, 2015

@lazka

This comment has been minimized.

Copy link
Member Author

@lazka lazka commented Oct 21, 2015

Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):


Sure. 74b2f4fa6ff28bca4e3a7f6b65ba

Do you have a use case for the provided mime types?

@lazka

This comment has been minimized.

Copy link
Member Author

@lazka lazka commented Oct 21, 2015

Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):


flac: add audio/flac mime type. Fixes #235

@lazka

This comment has been minimized.

Copy link
Member Author

@lazka lazka commented Oct 22, 2015

Original comment by potar (Bitbucket: potar, GitHub: potar):


Basically, I wanted to add audio/flac MIME type because some browsers set it as a content-type when send a file to a server side. And, for example, if you want to validate the file on the server side and make sure that the file has flac mime type, you can't do that by simply using mutagen since that mime type wasn't included into the _mimes list.
But thanks to you it's possible now.

@lazka

This comment has been minimized.

Copy link
Member Author

@lazka lazka commented Oct 22, 2015

Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):


OK, thanks.

@lazka lazka added minor labels Apr 7, 2016
@lazka lazka closed this Apr 7, 2016
lazka added a commit that referenced this issue Apr 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.