aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/formdata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/formdata.c b/lib/formdata.c
index 9ac805bb0..6aaeb167b 100644
--- a/lib/formdata.c
+++ b/lib/formdata.c
@@ -133,7 +133,7 @@ Content-Disposition: form-data; name="FILECONTENT"
/* What kind of Content-Type to use on un-specified files with unrecognized
extensions. */
-#define HTTPPOST_CONTENTTYPE_DEFAULT "text/plain"
+#define HTTPPOST_CONTENTTYPE_DEFAULT "application/octet-stream"
/* This is a silly duplicate of the function in main.c to enable this source
to compile stand-alone for better debugging */
@@ -267,7 +267,7 @@ int FormParse(char *input,
{".jpg", "image/jpeg"},
{".jpeg", "image/jpeg"},
{".txt", "text/plain"},
- {".html", "text/plain"}
+ {".html", "text/html"}
};
if(prevtype)