mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibCore: Add comment with link to mime registry to MimeData.cpp
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user