summaryrefslogtreecommitdiffstats
path: root/modules/examples/mod_example_hooks.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:59:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:59:47 +0000
commit71e2741ce55467368c4af2b0516dbcb9b1bc938e (patch)
tree2c32cdbb161128a210b98e347f6b397a9d8745aa /modules/examples/mod_example_hooks.c
parentAdding upstream version 2.4.60. (diff)
downloadapache2-71e2741ce55467368c4af2b0516dbcb9b1bc938e.tar.xz
apache2-71e2741ce55467368c4af2b0516dbcb9b1bc938e.zip
Adding upstream version 2.4.61.upstream/2.4.61
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'modules/examples/mod_example_hooks.c')
-rw-r--r--modules/examples/mod_example_hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/examples/mod_example_hooks.c b/modules/examples/mod_example_hooks.c
index f7ef5a5..d937906 100644
--- a/modules/examples/mod_example_hooks.c
+++ b/modules/examples/mod_example_hooks.c
@@ -993,7 +993,7 @@ static int x_handler(request_rec *r)
* Set the Content-type header. Note that we do not actually have to send
* the headers: this is done by the http core.
*/
- ap_set_content_type(r, "text/html");
+ ap_set_content_type_ex(r, "text/html", 1);
/*
* If we're only supposed to send header information (HEAD request), we're
* already there.