Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 7792 invoked from network); 21 Aug 2008 15:04:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Aug 2008 15:04:08 -0000 Received: (qmail 11385 invoked by uid 500); 21 Aug 2008 15:04:02 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 11325 invoked by uid 500); 21 Aug 2008 15:04:02 -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 11314 invoked by uid 99); 21 Aug 2008 15:04:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2008 08:04:02 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.18.19.7] (HELO sineb-mail-2.sun.com) (192.18.19.7) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2008 15:03:04 +0000 Received: from fe-apac-06.sun.com (fe-apac-06.sun.com [192.18.19.177] (may be forged)) by sineb-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m7LF38ch027501 for ; Thu, 21 Aug 2008 15:03:19 GMT Received: from conversion-daemon.mail-apac.sun.com by mail-apac.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0K5Y00M01HPXDV00@mail-apac.sun.com> (original mail from Rahul.G.Nair@Sun.COM) for dev@httpd.apache.org; Thu, 21 Aug 2008 23:03:08 +0800 (SGT) Received: from localhost ([129.158.224.78]) by mail-apac.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0K5Y00F0PHT7R1DV@mail-apac.sun.com>; Thu, 21 Aug 2008 23:03:08 +0800 (SGT) X-URL: http://vrthra.googlepages.com Date: Thu, 21 Aug 2008 20:19:30 +0530 From: rahul Subject: Re: DO NOT REPLY [Bug 45023] DEFLATE preventing 304 NOT MODIFIED response In-reply-to: Sender: Rahul.G.Nair@Sun.COM To: Nick Kew Cc: Apache HTTPD Bugs Notification List Message-id: <20080821144930.GO23418@vayavyam.India.Sun.COM> MIME-version: 1.0 X-Mailer: Mutt/v1.5i Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline X-Operating-System: FreeBSD References: <20080819134152.6F161234C1BA@brutus.apache.org> User-Agent: Mutt/1.5.11 X-Virus-Checked: Checked by ClamAV on apache.org | >Created an attachment (id=22453) | > --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22453) | >A POC slightly better than the above conf lines, | > | >Adds an input filter ETAG that can be used like below, along with | >DEFLATE | >to let apache recognize ($1)-gzip as $1 | > | >AddInputFilter ETAG .txt | >AddOutputFilterByType DEFLATE text/plain | | Neat little fix (insofar as that problem admits of a neat fix). | But I dislike using an input filter just to manipulate request headers | (that's what processing hooks are for), and the sysop shouldn't | have to configure it. | | Does something bad happen if you put the check in a post_read_request | hook instead? Thanks for the pointer :). I will update the patch. rahul -- 1. e4 _