diff options
author | Bill Stoddard <stoddard@apache.org> | 2002-03-20 02:58:47 +0100 |
---|---|---|
committer | Bill Stoddard <stoddard@apache.org> | 2002-03-20 02:58:47 +0100 |
commit | 470edb9dd87afbdb66ed0fd36bce7c97c2889086 (patch) | |
tree | ad6aede0f24e3c782a4714c9f1f9105c13e92020 /modules/experimental/mod_example.c | |
parent | be a little more specific in a thread-create error message (diff) | |
download | apache2-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.c | 2 |
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. |