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

Reply via email to