From 016992ad866767edd93e2673c1c31dccd6cc2fc7 Mon Sep 17 00:00:00 2001 From: Vincent Douillet Date: Thu, 26 Dec 2024 16:24:31 +0100 Subject: fix mime type for html responses --- upload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'upload.c') 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); -- cgit v1.2.3