aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/IO/mime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/IO/mime.c b/src/IO/mime.c
index 9d5e6738..9b209dbf 100644
--- a/src/IO/mime.c
+++ b/src/IO/mime.c
@@ -2,6 +2,7 @@
* File: mime.c
*
* Copyright (C) 2000-2007 Jorge Arellano Cid <jcid@dillo.org>
+ * Copyright (C) 2024 Rodrigo Arias Mallo <rodarima@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -109,6 +110,7 @@ void a_Mime_init()
#endif
Mime_add_minor_type("text/html", a_Html_text);
Mime_add_minor_type("application/xhtml+xml", a_Html_text);
+ Mime_add_minor_type("application/json", a_Plain_text);
/* Add a major type to handle all the text stuff */
Mime_add_major_type("text", a_Plain_text);