diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-05 09:59:47 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-05 09:59:47 +0000 |
commit | db3acad040f4369109cb222a370f839d2ce9d42a (patch) | |
tree | 280747280299f9f85e876e7958bfa9041da653ab /modules/http/http_protocol.c | |
parent | Adding debian version 2.4.60-1. (diff) | |
download | apache2-db3acad040f4369109cb222a370f839d2ce9d42a.tar.xz apache2-db3acad040f4369109cb222a370f839d2ce9d42a.zip |
Merging upstream version 2.4.61.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'modules/http/http_protocol.c')
-rw-r--r-- | modules/http/http_protocol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index c31e873..3bc666e 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -1443,10 +1443,10 @@ AP_DECLARE(void) ap_send_error_response(request_rec *r, int recursive_error) request_conf->suppress_charset = 1; /* avoid adding default * charset later */ - ap_set_content_type(r, "text/html"); + ap_set_content_type_ex(r, "text/html", 1); } else { - ap_set_content_type(r, "text/html; charset=iso-8859-1"); + ap_set_content_type_ex(r, "text/html; charset=iso-8859-1", 1); } if ((status == HTTP_METHOD_NOT_ALLOWED) |