@@ -33,18 +33,40 @@ private MediaTypes()
3333 this .mediaTypes .put ( "png" , MediaType .PNG );
3434 this .mediaTypes .put ( "jpeg" , MediaType .JPEG );
3535 this .mediaTypes .put ( "jpg" , MediaType .JPEG );
36+ this .mediaTypes .put ( "bmp" , MediaType .BMP );
37+ this .mediaTypes .put ( "ico" , MediaType .ICO );
38+ this .mediaTypes .put ( "webp" , MediaType .WEBP );
39+ this .mediaTypes .put ( "avif" , MediaType .create ( "image" , "avif" ) );
40+ this .mediaTypes .put ( "apng" , MediaType .create ( "image" , "apng" ) );
3641 this .mediaTypes .put ( "pdf" , MediaType .PDF );
3742 this .mediaTypes .put ( "json" , MediaType .JSON_UTF_8 .withoutParameters () );
43+ this .mediaTypes .put ( "jsonld" , MediaType .create ( "application" , "ld+json" ) );
44+ this .mediaTypes .put ( "webmanifest" , MediaType .MANIFEST_JSON_UTF_8 .withoutParameters () );
3845 this .mediaTypes .put ( "js" , MediaType .JAVASCRIPT_UTF_8 .withoutParameters () );
3946 this .mediaTypes .put ( "es" , MediaType .JAVASCRIPT_UTF_8 .withoutParameters () );
4047 this .mediaTypes .put ( "es6" , MediaType .JAVASCRIPT_UTF_8 .withoutParameters () );
4148 this .mediaTypes .put ( "mjs" , MediaType .JAVASCRIPT_UTF_8 .withoutParameters () );
4249 this .mediaTypes .put ( "css" , MediaType .CSS_UTF_8 .withoutParameters () );
50+ this .mediaTypes .put ( "htm" , MediaType .HTML_UTF_8 .withoutParameters () );
4351 this .mediaTypes .put ( "html" , MediaType .HTML_UTF_8 .withoutParameters () );
4452 this .mediaTypes .put ( "xml" , MediaType .XML_UTF_8 .withoutParameters () );
4553 this .mediaTypes .put ( "svg" , MediaType .SVG_UTF_8 .withoutParameters () );
4654 this .mediaTypes .put ( "txt" , MediaType .PLAIN_TEXT_UTF_8 .withoutParameters () );
55+ this .mediaTypes .put ( "ics" , MediaType .I_CALENDAR_UTF_8 .withoutParameters () );
56+ this .mediaTypes .put ( "aac" , MediaType .AAC_AUDIO );
57+ this .mediaTypes .put ( "mp3" , MediaType .MPEG_AUDIO );
4758 this .mediaTypes .put ( "mp4" , MediaType .MP4_VIDEO );
59+ this .mediaTypes .put ( "mpeg" , MediaType .MPEG_VIDEO );
60+ this .mediaTypes .put ( "oga" , MediaType .OGG_AUDIO );
61+ this .mediaTypes .put ( "ogv" , MediaType .OGG_VIDEO );
62+ this .mediaTypes .put ( "weba" , MediaType .WEBM_AUDIO );
63+ this .mediaTypes .put ( "webm" , MediaType .WEBM_VIDEO );
64+ this .mediaTypes .put ( "flac" , MediaType .create ( "audio" , "flac" ) );
65+ this .mediaTypes .put ( "woff" , MediaType .create ( "font" , "woff" ) );
66+ this .mediaTypes .put ( "woff2" , MediaType .create ( "font" , "woff2" ) );
67+ this .mediaTypes .put ( "eot" , MediaType .EOT );
68+ this .mediaTypes .put ( "ttf" , MediaType .create ( "font" , "ttf" ) );
69+ this .mediaTypes .put ( "otf" , MediaType .create ( "font" , "otf" ) );
4870 }
4971
5072 @ Override
0 commit comments