mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:57:45 +00:00
Userland: Use more common WAV MIME type
There is no official IANA MIME type for WAV (see https://www.iana.org/assignments/media-types/media-types.xhtml#audio), so this will always be subjective. While https://www.rfc-editor.org/rfc/rfc2361 suggests audio/vnd.wave, we use audio/wav since that seems to be most common across the internet.
This commit is contained in:
parent
e3195b060d
commit
9ff01723ba
3 changed files with 3 additions and 3 deletions
|
@ -156,7 +156,7 @@ StringView guess_mime_type_based_on_filename(StringView path)
|
|||
__ENUMERATE_MIME_TYPE_HEADER(tiff, "image/tiff", 0, 4, 'I', 'I', '*', 0x00) \
|
||||
__ENUMERATE_MIME_TYPE_HEADER(tiff_bigendian, "image/tiff", 0, 4, 'M', 'M', 0x00, '*') \
|
||||
__ENUMERATE_MIME_TYPE_HEADER(wasm, "application/wasm", 0, 4, 0x00, 'a', 's', 'm') \
|
||||
__ENUMERATE_MIME_TYPE_HEADER(wav, "audio/wave", 8, 4, 'W', 'A', 'V', 'E') \
|
||||
__ENUMERATE_MIME_TYPE_HEADER(wav, "audio/wav", 8, 4, 'W', 'A', 'V', 'E') \
|
||||
__ENUMERATE_MIME_TYPE_HEADER(webp, "image/webp", 8, 4, 'W', 'E', 'B', 'P') \
|
||||
__ENUMERATE_MIME_TYPE_HEADER(win_31x_archive, "extra/win-31x-compressed", 0, 4, 'K', 'W', 'A', 'J') \
|
||||
__ENUMERATE_MIME_TYPE_HEADER(win_95_archive, "extra/win-95-compressed", 0, 4, 'S', 'Z', 'D', 'D') \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue