File tree Expand file tree Collapse file tree
main/java/uk/co/mainwave/mimetypes
test/java/uk/co/mainwave/mimetypes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ public static class Application {
3434 /** <code>application/ld+json</code> */
3535 public static final String LD_JSON = PREFIX + "ld+json" ;
3636
37+ /** <code>application/manifest+json</code> */
38+ public static final String MANIFEST_JSON = PREFIX + "manifest+json" ;
39+
3740 /** <code>application/mp4</code> */
3841 public static final String MP4 = PREFIX + "mp4" ;
3942
@@ -344,6 +347,9 @@ public static class Text {
344347 /** <code>text/javascript</code> */
345348 public static final String JAVASCRIPT = PREFIX + "javascript" ;
346349
350+ /** <code>text/markdown</code> */
351+ public static final String MARKDOWN = PREFIX + "markdown" ;
352+
347353 /** <code>text/plain</code> */
348354 public static final String PLAIN = PREFIX + "plain" ;
349355
Original file line number Diff line number Diff line change @@ -50,6 +50,11 @@ public void testApplicationLdJson() {
5050 assertEquals ("application/ld+json" , MimeType .Application .LD_JSON );
5151 }
5252
53+ @ Test
54+ public void testApplicationManifestJson () {
55+ assertEquals ("application/manifest+json" , MimeType .Application .MANIFEST_JSON );
56+ }
57+
5358 @ Test
5459 public void testApplicationMp4 () {
5560 assertEquals ("application/mp4" , MimeType .Application .MP4 );
Original file line number Diff line number Diff line change @@ -30,6 +30,11 @@ public void testTextJavascript() {
3030 assertEquals ("text/javascript" , MimeType .Text .JAVASCRIPT );
3131 }
3232
33+ @ Test
34+ public void testTextMarkdown () {
35+ assertEquals ("text/markdown" , MimeType .Text .MARKDOWN );
36+ }
37+
3338 @ Test
3439 public void testTextPlain () {
3540 assertEquals ("text/plain" , MimeType .Text .PLAIN );
You can’t perform that action at this time.
0 commit comments