diff options
Diffstat (limited to 'httpd.c')
-rw-r--r-- | httpd.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -284,6 +284,9 @@ void httpd_connection(FILE *f) status = 404; } + if (status == 403) + body = xs_str_new("<h1>403 Forbidden</h1>"); + if (status == 404) body = xs_str_new("<h1>404 Not Found</h1>"); |