summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-04-28 11:08:35 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-04-28 11:08:35 +0000
commitcc9ab23b042f21b7a417edf45a9a7063daa3f45d (patch)
tree0f5cc4c38b59de6cb8eee3a283d79efa0d3a2fb4
parent7e28ca26d117efb24a5ecc2ba6b12f0d1c2eae16 (diff)
downloadnetsurf-cc9ab23b042f21b7a417edf45a9a7063daa3f45d.tar.gz
netsurf-cc9ab23b042f21b7a417edf45a9a7063daa3f45d.tar.bz2
Add html extensions to minimal MIME type hash
svn path=/trunk/netsurf/; revision=4110
-rw-r--r--gtk/gtk_filetype.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtk_filetype.c b/gtk/gtk_filetype.c
index 2ae2a1fea..3c6bc3ea8 100644
--- a/gtk/gtk_filetype.c
+++ b/gtk/gtk_filetype.c
@@ -57,6 +57,8 @@ void gtk_fetch_filetype_init(const char *mimefile)
*/
hash_add(mime_hash, "css", "text/css");
+ hash_add(mime_hash, "htm", "text/html");
+ hash_add(mime_hash, "html", "text/html");
hash_add(mime_hash, "jpg", "image/jpeg");
hash_add(mime_hash, "jpeg", "image/jpeg");
hash_add(mime_hash, "gif", "image/gif");