From f0c191a37c3e2446ff74c779a38ed1b00a53a55c Mon Sep 17 00:00:00 2001 From: Joshua Bauer Date: Thu, 23 Dec 2021 16:25:14 -0800 Subject: [PATCH] Added AVIF 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 98a864b..7caec44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ Proteus Changelog. ## Unreleased ### No issue +**Improve handling of FormData files and buffers** + + +[a71c05b020e813c](https://github.com/noboomu/proteus/commit/a71c05b020e813c) Joshua Bauer *2021-11-15 15:51:16* + **Improve uploading of binary files** 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 d7fc4dd..414f301 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 @@ -965,6 +965,7 @@ public class MediaType public static final MediaType CHEMICAL_X_VMD = create("chemical/x-vmd", "vmd"); public static final MediaType CHEMICAL_X_XTEL = create("chemical/x-xtel", "xtel"); public static final MediaType CHEMICAL_X_XYZ = create("chemical/x-xyz", "xyz"); + public static final MediaType IMAGE_AVIF = create("image/avif", "avif"); 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");