From: Bill Stoddard Date: Fri, 22 Mar 2002 02:48:00 +0000 (+0000) Subject: Use the accessor to set r->content_type X-Git-Tag: 2.0.34~184 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8315a9d24528e768f75e33c3630a2a93ccc031de;p=apache 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 --- 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