summaryrefslogtreecommitdiffstats
path: root/modules/experimental/mod_example.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/experimental/mod_example.c')
-rw-r--r--modules/experimental/mod_example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/experimental/mod_example.c b/modules/experimental/mod_example.c
index 027cadd4c0..c691e94da6 100644
--- a/modules/experimental/mod_example.c
+++ b/modules/experimental/mod_example.c
@@ -552,7 +552,7 @@ static int x_handler(request_rec *r)
* We also need to start a timer so the server can know if the connexion
* is broken.
*/
- r->content_type = "text/html";
+ ap_rset_content_type("text/html", r);
/*
* If we're only supposed to send header information (HEAD request), we're
* already there.