[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#388443: apache2: MUST NOT send data in an 304 reply



Christoph Biedl wrote:
> 
> | <?php
> | header('HTTP/1.0 304 Not Modified');
> | ?>

While I can see the argument that apache should perhaps be trimming its
own output, you are aware that you can "fix" this in your PHP script by
not having that trailing newline in the file, right?

I realise some text editors enforce having a trailing newline, which
makes it a pain to remove it, but others will let you trim it.

... Adam



Reply to: