summaryrefslogtreecommitdiffstats
path: root/server/util_script.c
diff options
context:
space:
mode:
authorBill Stoddard <stoddard@apache.org>2002-03-20 03:05:43 +0100
committerBill Stoddard <stoddard@apache.org>2002-03-20 03:05:43 +0100
commite9ec908a0191d0527c945063aea48611a5f21d31 (patch)
tree2b3bbb7e3441d819f426c90154dc2b4208b633f8 /server/util_script.c
parentFirst commit to introduce accessor function to set r->content_type.. (diff)
downloadapache2-e9ec908a0191d0527c945063aea48611a5f21d31.tar.xz
apache2-e9ec908a0191d0527c945063aea48611a5f21d31.zip
Final commit to add ap_rset_content_type accessor. Add AddOutputFiltersbyType
filters during call to ap_rset_content_type() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94028 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--server/util_script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/util_script.c b/server/util_script.c
index ba6d49cfae..36ad107c34 100644
--- a/server/util_script.c
+++ b/server/util_script.c
@@ -569,7 +569,7 @@ AP_DECLARE(int) ap_scan_script_header_err_core(request_rec *r, char *buffer,
tmp = apr_pstrdup(r->pool, l);
ap_content_type_tolower(tmp);
- r->content_type = tmp;
+ ap_rset_content_type(tmp, r);
}
/*
* If the script returned a specific status, that's what