Project

General

Profile

Actions

Feature #1725

closed

Turn off compression for 304

Added by Anonymous almost 13 years ago. Updated over 12 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_compress
Target version:
ASK QUESTIONS IN Forums:

Description

in case of an IMS (If modified since) request and an answer with "304 Not modified", lighttpd sends the Vary/Content-Encoding for gzipped content (if browser supports), altough it doesn't make sense, as there is no content (shouldn't the min-file-size limit for compression hit here., because content length = 0)?

-- msiedler


Related issues

Is duplicate of Bug #1754: lighty SHOULD not include "Content-Encoding" in a 304 Not Modified responseFixedActions
Actions #1

Updated by stbuehler over 12 years ago

  • Target version changed from 1.4.20 to 1.4.21
Actions #3

Updated by stbuehler over 12 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100
  • Patch available set to No

If i understand the spec correctly it should be ok to send the "Vary" header, content-encoding is already removed. (And no, content-length is not zero; it is just not sent).

Actions

Also available in: Atom