httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [Bug 38070] - httpd returns status code 200 instead 304, but logged 304 in log.
Date Tue, 21 Feb 2006 15:45:39 GMT
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

Mime
View raw message