summaryrefslogtreecommitdiffstats
path: root/modules/experimental/mod_example.c
diff options
context:
space:
mode:
authorBill Stoddard <stoddard@apache.org>2002-03-20 02:58:47 +0100
committerBill Stoddard <stoddard@apache.org>2002-03-20 02:58:47 +0100
commit470edb9dd87afbdb66ed0fd36bce7c97c2889086 (patch)
treead6aede0f24e3c782a4714c9f1f9105c13e92020 /modules/experimental/mod_example.c
parentbe a little more specific in a thread-create error message (diff)
downloadapache2-470edb9dd87afbdb66ed0fd36bce7c97c2889086.tar.xz
apache2-470edb9dd87afbdb66ed0fd36bce7c97c2889086.zip
First commit to introduce accessor function to set r->content_type..
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94027 13f79535-47bb-0310-9956-ffa450edef68
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.