diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-04-15 09:29:39 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-04-15 09:29:39 +0000 |
commit | 1f2294d585bc974fa42cb79caa7fd28128554b7a (patch) | |
tree | 1f803485827ed5df17c7e1332ed031d974bcd1d4 | |
parent | 0b839c4f770eb32a0910462e2bf5089cafa3259f (diff) |
treat uploaded .html files as text/html by default
-rw-r--r-- | lib/formdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |