From 8315a9d24528e768f75e33c3630a2a93ccc031de Mon Sep 17 00:00:00 2001 From: Bill Stoddard Date: Fri, 22 Mar 2002 02:48:00 +0000 Subject: [PATCH] Use the accessor to set r->content_type git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94114 13f79535-47bb-0310-9956-ffa450edef68 --- modules/experimental/mod_ext_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/experimental/mod_ext_filter.c b/modules/experimental/mod_ext_filter.c index f425b5b352..d7ff6eb9af 100644 --- a/modules/experimental/mod_ext_filter.c +++ b/modules/experimental/mod_ext_filter.c @@ -503,7 +503,7 @@ static apr_status_t init_filter_instance(ap_filter_t *f) } if (ctx->filter->outtype && ctx->filter->outtype != OUTTYPE_UNCHANGED) { - f->r->content_type = ctx->filter->outtype; + ap_set_content_type(f->r, ctx->filter->outtype); } if (ctx->filter->preserves_content_length != 1) { /* nasty, but needed to avoid confusing the browser -- 2.40.0