Eric Covener wrote:
/* For a 304 response, only change the headers */
- if (r->status == HTTP_NOT_MODIFIED) {
+ if (r->status == HTTP_NOT_MODIFIED || r->header_only) {
Technically speaking, screws up the protocol.
IMHO it would be acceptable provided:
(a) it's an option for the admin, rather than enforced
(b) it's documented
(c) the headers are correct: either Content-Encoding is
unset (uncompressed response) or Content-Length is
unset. Probably the former.
--
Nick Kew
