summaryrefslogtreecommitdiff
path: root/lib/formdata.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-04-15 09:29:39 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-04-15 09:29:39 +0000
commit1f2294d585bc974fa42cb79caa7fd28128554b7a (patch)
tree1f803485827ed5df17c7e1332ed031d974bcd1d4 /lib/formdata.c
parent0b839c4f770eb32a0910462e2bf5089cafa3259f (diff)
downloadcurl-1f2294d585bc974fa42cb79caa7fd28128554b7a.tar.gz
treat uploaded .html files as text/html by default
Diffstat (limited to 'lib/formdata.c')
-rw-r--r--lib/formdata.c2
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)