Reputation: 16591
Prior to Chrome 81, when posting an audio file from a file
input would result in a mimetype of audio/mp3
.
As of Chrome 81, the mimetype is now audio/mpeg
.
I can't see anything in the release notes, so questions:
audio/mpeg
and audio/mp3
server side (i.e. whitelisting types)audio/mp3
for this type?Answers to the above:
Which one is correct?
audio/mpeg
is referenced in the RFC - so this should be used.
Upvotes: 1
Views: 782
Reputation: 783
This looks to be the case in chrome 81 as per the following commit: chromium/chromium/src/842f46a95f49e24534ad35c7a71e5c425d426550
Commit message reads as follows:
Use audio/mpeg instead of audio/mp3 for .mp3 files
audio/mpeg is used instead of audio/mp3 in safari and firefox for .mp3 files, as defined in this rfc: https://www.rfc-editor.org/rfc/rfc3003
Good find though.
Upvotes: 1