Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 74964 invoked from network); 23 May 2006 21:17:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 May 2006 21:17:40 -0000 Received: (qmail 10793 invoked by uid 500); 23 May 2006 21:17:36 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 10728 invoked by uid 500); 23 May 2006 21:17:35 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 10717 invoked by uid 99); 23 May 2006 21:17:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 May 2006 14:17:35 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_POST X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [64.236.25.90] (HELO cnnimail33.turner.com) (64.236.25.90) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 May 2006 14:17:34 -0700 Received: from turner.com (10.165.244.17) by cnnimail33.turner.com with ESMTP; 23 May 2006 17:17:16 -0400 Received: from [10.188.50.115] (dcs-vaio.turner.com [10.188.50.115]) by web.turner.com (Postfix) with ESMTP id 10DECC12B9 for ; Tue, 23 May 2006 17:17:15 -0400 (EDT) Message-ID: <44737BD9.4080200@turner.com> Date: Tue, 23 May 2006 17:17:13 -0400 From: Brian Akins User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060308) MIME-Version: 1.0 To: dev@httpd.apache.org Subject: bug in ap_set_content_type or somewhere Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N If I have this configured: AddOutputFilterByType DEFLATE text/html but get something like /server-status?auto, it still gets gzipped. It looks like because in mod_status.c we do this: ap_set_content_type(r, "text/html"); and a little later: case STAT_OPT_AUTO: ap_set_content_type(r, "text/plain"); and in ap_set_content_type we call ap_add_output_filters_by_type(r); so, even though we change the content type, we still have added DEFLATE for this. -- Brian Akins Lead Systems Engineer CNN Internet Technologies