summaryrefslogtreecommitdiffstats
path: root/modules/examples/mod_example_hooks.c
diff options
context:
space:
mode:
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.