Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 72617 invoked from network); 21 Feb 2006 15:46:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Feb 2006 15:46:09 -0000 Received: (qmail 10847 invoked by uid 500); 21 Feb 2006 15:46:05 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 10773 invoked by uid 500); 21 Feb 2006 15:46:04 -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 10762 invoked by uid 99); 21 Feb 2006 15:46:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2006 07:46:04 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [80.229.52.226] (HELO asgard.webthing.com) (80.229.52.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2006 07:46:03 -0800 Received: from asgard (asgard [192.168.10.2]) by asgard.webthing.com (Postfix) with ESMTP id 6584E64546 for ; Tue, 21 Feb 2006 15:45:42 +0000 (GMT) From: Nick Kew Organization: WebThing Ltd To: Apache HTTPD Subject: Re: [Bug 38070] - httpd returns status code 200 instead 304, but logged 304 in log. Date: Tue, 21 Feb 2006 15:45:39 +0000 User-Agent: KMail/1.8.3 References: <20060221094944.02A6EDD@ajax.apache.org> <200602211132.10818.nick@webthing.com> <20060221145603.GD5931@redhat.com> In-Reply-To: <20060221145603.GD5931@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602211545.41588.nick@webthing.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Tuesday 21 February 2006 14:56, Joe Orton wrote: > > > >I've prepared a (simpler) alternative patch, which fixes the real > > > > issue and will make packages available for testing. > > > > Sure, it's a better fix to the particular example that was posted. But > > that's only because that example was a misuse of the CGI "Status" header. > > Taken more generally, that patch breaks CGI by *preventing* it doing > > something that the CGI spec permits. > > Well, interaction between CGI scripts and conditional request processing > is not specified by the CGI spec (AFAICS anyway). Not as such. It doesn't need to: it's a MUST in CGI: 7.2.1.3. Status The "Status" header field is used to indicate to the server what status code the server MUST use in the response message. Your patch breaks that, plain and simple. -- Nick Kew