diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Use standard HTTP reason phrases
Diffstat (limited to '')
-rw-r--r--source/ui-stats.c4
1 file changed, 2 insertions, 2 deletions
diff --git a/source/ui-stats.c b/source/ui-stats.c
index 182cc06..0ce5ef7 100644
--- a/source/ui-stats.c
+++ b/source/ui-stats.c
@@ -608,12 +608,12 @@ void cgit_show_stats(void)
period_index = cgit_find_stats_period(code, &period);
if (!period_index) {
- cgit_print_error_page(404, "Not found",
+ cgit_print_error_page(404, "Not Found",
"Unknown statistics type: %c", code[0]);
return;
}
if (ctx.repo->max_stats && period_index > ctx.repo->max_stats) {
- cgit_print_error_page(400, "Bad request",
+ cgit_print_error_page(400, "Bad Request",
"Statistics type disabled: %s", period->name);
return;
}