summaryrefslogtreecommitdiffstats
path: root/modules/generators/mod_status.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:59:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:59:48 +0000
commit53ff966932ecf1aff29a072025fabbfc0c5bed54 (patch)
treef7d497a34d66ac0351363862cff1fd1287bbd282 /modules/generators/mod_status.c
parentReleasing progress-linux version 2.4.60-1~progress7.99u1. (diff)
downloadapache2-53ff966932ecf1aff29a072025fabbfc0c5bed54.tar.xz
apache2-53ff966932ecf1aff29a072025fabbfc0c5bed54.zip
Merging upstream version 2.4.61.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'modules/generators/mod_status.c')
-rw-r--r--modules/generators/mod_status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/generators/mod_status.c b/modules/generators/mod_status.c
index 5bada07..2cb38c7 100644
--- a/modules/generators/mod_status.c
+++ b/modules/generators/mod_status.c
@@ -273,7 +273,7 @@ static int status_handler(request_rec *r)
if (r->method_number != M_GET)
return DECLINED;
- ap_set_content_type(r, "text/html; charset=ISO-8859-1");
+ ap_set_content_type_ex(r, "text/html; charset=ISO-8859-1", 1);
/*
* Simple table-driven form data set parser that lets you alter the header
@@ -301,7 +301,7 @@ static int status_handler(request_rec *r)
no_table_report = 1;
break;
case STAT_OPT_AUTO:
- ap_set_content_type(r, "text/plain; charset=ISO-8859-1");
+ ap_set_content_type_ex(r, "text/plain; charset=ISO-8859-1", 1);
short_report = 1;
break;
}