From cc9ab23b042f21b7a417edf45a9a7063daa3f45d Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 28 Apr 2008 11:08:35 +0000 Subject: Add html extensions to minimal MIME type hash svn path=/trunk/netsurf/; revision=4110 --- gtk/gtk_filetype.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk') 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"); -- cgit v1.2.3