[JENKINS-15437]

Two Content-Encoding headers will cause ERR_CONTENT_DECODING_FAILED in the browser, so we need to overwrite what we've set.
Both addHeader/setHeader tags are needed.