File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
main/resources/org/springframework/http
test/java/org/springframework/http Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -649,6 +649,8 @@ image/bmp bmp
649
649
image/cgm cgm
650
650
image/g3fax g3
651
651
image/gif gif
652
+ image/heic heic
653
+ image/heif heif
652
654
image/ief ief
653
655
image/jpeg jpeg jpg jpe
654
656
image/ktx ktx
Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ void getMediaType() {
34
34
assertThat (MediaTypeFactory .getMediaType ("file.js" )).contains (MediaType .parseMediaType ("text/javascript" ));
35
35
assertThat (MediaTypeFactory .getMediaType ("file.css" )).contains (MediaType .parseMediaType ("text/css" ));
36
36
assertThat (MediaTypeFactory .getMediaType ("file.wasm" )).contains (MediaType .parseMediaType ("application/wasm" ));
37
+ assertThat (MediaTypeFactory .getMediaType ("file.heif" )).contains (MediaType .parseMediaType ("image/heif" ));
38
+ assertThat (MediaTypeFactory .getMediaType ("file.heic" )).contains (MediaType .parseMediaType ("image/heic" ));
37
39
assertThat (MediaTypeFactory .getMediaType ("file.foobar" )).isNotPresent ();
38
40
}
39
41
You can’t perform that action at this time.
0 commit comments