mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 02:56:10 +00:00
LibCore: Add comment with link to mime registry to MimeData.cpp
This commit is contained in:
parent
6d4ba21832
commit
2467374ea9
Notes:
sideshowbarker
2024-07-16 20:39:14 +09:00
Author: https://github.com/nico
Commit: 2467374ea9
Pull-request: https://github.com/SerenityOS/serenity/pull/24016
Reviewed-by: https://github.com/LucasChollet ✅
Reviewed-by: https://github.com/trflynn89 ✅
1 changed files with 2 additions and 0 deletions
|
@ -63,6 +63,8 @@ static Array constexpr s_plaintext_suffixes = {
|
|||
"CMakeLists.txt"sv,
|
||||
};
|
||||
|
||||
// See https://www.iana.org/assignments/media-types/<mime-type> for a list of registered MIME types.
|
||||
// For example, https://www.iana.org/assignments/media-types/application/gzip
|
||||
static Array const s_registered_mime_type = {
|
||||
MimeType { .name = "application/gzip"sv, .common_extensions = { ".gz"sv, ".gzip"sv }, .description = "GZIP compressed data"sv, .magic_bytes = Vector<u8> { 0x1F, 0x8B } },
|
||||
MimeType { .name = "application/javascript"sv, .common_extensions = { ".js"sv, ".mjs"sv }, .description = "JavaScript source"sv },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue