From 1aa07d8f82ab1ccca49fb26e6dd8c2a5d46ccfe2 Mon Sep 17 00:00:00 2001 From: Joshua Bauer Date: Thu, 23 Dec 2021 16:44:12 -0800 Subject: [PATCH] Added HEIC format --- CHANGELOG.md | 5 +++++ .../main/java/io/sinistral/proteus/protocol/MediaType.java | 1 + 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7caec44..2fd3a8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ Proteus Changelog. ## Unreleased ### No issue +**Added AVIF format** + + +[f0c191a37c3e244](https://github.com/noboomu/proteus/commit/f0c191a37c3e244) Joshua Bauer *2021-12-24 00:25:14* + **Improve handling of FormData files and buffers** diff --git a/proteus-core/src/main/java/io/sinistral/proteus/protocol/MediaType.java b/proteus-core/src/main/java/io/sinistral/proteus/protocol/MediaType.java index 414f301..c60787b 100644 --- a/proteus-core/src/main/java/io/sinistral/proteus/protocol/MediaType.java +++ b/proteus-core/src/main/java/io/sinistral/proteus/protocol/MediaType.java @@ -969,6 +969,7 @@ public class MediaType public static final MediaType IMAGE_BMP = create("image/bmp", "bmp"); public static final MediaType IMAGE_CGM = create("image/cgm", "cgm"); public static final MediaType IMAGE_G3FAX = create("image/g3fax", "g3"); + public static final MediaType IMAGE_HEIC = create("image/heic", "heic"); public static final MediaType IMAGE_GIF = create("image/gif", "gif"); public static final MediaType IMAGE_IEF = create("image/ief", "ief"); public static final MediaType IMAGE_JPEG = create("image/jpeg", "jpg","jpeg", "jpe");