summaryrefslogtreecommitdiff
path: root/upload.c
diff options
context:
space:
mode:
Diffstat (limited to 'upload.c')
-rw-r--r--upload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/upload.c b/upload.c
index ed9ec4d..56cf2c4 100644
--- a/upload.c
+++ b/upload.c
@@ -148,7 +148,7 @@ upload_get(struct kreq * r, struct http_ret * ret, struct file * file)
goto end;
}
/* print upload form */
- http_open(r, KHTTP_200, r->mime);
+ http_open(r, KHTTP_200, KMIME_TEXT_HTML);
K_OK(khttp_puts(r, tmpl->header), r);
K_OK(khtml_open(&html, r, 0), r);