Add a test to verify that a 304 beresp does not change Content-Encoding.
See the discussion in Varnish issue #2910. A 304 IMS beresp could (weirdly) set Content-Encoding to something other than the result of previous VFP filtering, in this case compressing the response with gzip. Nevertheless, Varnish does the right thing when the OF_CHGGZIP flag is set.
Showing
Please register or sign in to comment