From 1f2294d585bc974fa42cb79caa7fd28128554b7a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 15 Apr 2003 09:29:39 +0000 Subject: treat uploaded .html files as text/html by default --- lib/formdata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/formdata.c b/lib/formdata.c index 46dd454fa..76798616a 100644 --- a/lib/formdata.c +++ b/lib/formdata.c @@ -517,7 +517,7 @@ static const char * ContentTypeForFilename (const char *filename, {".jpg", "image/jpeg"}, {".jpeg", "image/jpeg"}, {".txt", "text/plain"}, - {".html", "text/plain"} + {".html", "text/html"} }; if(prevtype) -- cgit v1.2.3