From 470edb9dd87afbdb66ed0fd36bce7c97c2889086 Mon Sep 17 00:00:00 2001 From: Bill Stoddard Date: Wed, 20 Mar 2002 01:58:47 +0000 Subject: 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 --- modules/experimental/mod_example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/experimental/mod_example.c') 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. -- cgit v1.2.3