From 0496a60112c4dd2bc86502d59a1c5b120f1c87d5 Mon Sep 17 00:00:00 2001 From: Torusrxxx Date: Sun, 6 Oct 2024 13:18:02 +0000 Subject: [PATCH] Add new MIME types image/avif, heic, heif --- src/freenet/client/DefaultMIMETypes.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/freenet/client/DefaultMIMETypes.java b/src/freenet/client/DefaultMIMETypes.java index 94ce12158a..2d82f79032 100644 --- a/src/freenet/client/DefaultMIMETypes.java +++ b/src/freenet/client/DefaultMIMETypes.java @@ -755,6 +755,9 @@ public synchronized static short byName(String s) { addMIMEType((short)620, "audio/ogg", "oga"); addMIMEType((short)621, "audio/flac", "flac"); addMIMEType((short)622, "image/webp", "webp"); + addMIMEType((short)623, "image/avif", "avif"); + addMIMEType((short)624, "image/heic", "heic"); + addMIMEType((short)625, "image/heif", "heif"); } /** Guess a MIME type from a filename.