commit 79b1d76e6775e5e42485a0cb794cb115e25fa338
parent 3a60c8a3a8bebfe12ca99478daf81bd620e2d479
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date: Fri, 27 Nov 2026 12:07:29 +0100
post_example: use "Content-Type: text/html" for 404 as well
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/examples/post_example.c b/src/examples/post_example.c
@@ -470,7 +470,7 @@ static struct Page pages[] = {
{ "/2", "text/html", &fill_v1_v2_form, NULL },
{ "/S", "text/html", &serve_simple_form, SUBMIT_PAGE },
{ "/F", "text/html", &serve_simple_form, LAST_PAGE },
- { NULL, NULL, ¬_found_page, NULL } /* 404 */
+ { NULL, "text/html", ¬_found_page, NULL } /* 404 */
};