[4.0] bb29cda Fix a header name confusion

Lasse Karstensen lkarsten at varnish-software.com
Mon Sep 22 16:38:24 CEST 2014


commit bb29cda310616384ef44ff5fe8716887b10f335d
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Aug 28 13:01:18 2014 +0200

    Fix a header name confusion
    
    Thanks to dridi.boukelmoune at zenika.com for reporting.

diff --git a/doc/sphinx/users-guide/compression.rst b/doc/sphinx/users-guide/compression.rst
index bea7176..a046311 100644
--- a/doc/sphinx/users-guide/compression.rst
+++ b/doc/sphinx/users-guide/compression.rst
@@ -60,8 +60,7 @@ alterations to the headers of the resulting object which cannot be
 modified in a backend VCL (but in `vcl_deliver`):
 
 * set `obj.http.Content-Encoding` to "gzip"
-* add "Accept-Encoding" to `obj.http.Content-Encoding`, unless already
-  present
+* add "Accept-Encoding" to `obj.http.Vary`, unless already present
 * weaken any `Etag` (by prepending "W/")
 
 Generally, Varnish doesn't use much CPU so it might make more sense to
@@ -86,7 +85,7 @@ the headers of the resulting object which cannot be modified in a
 backend VCL (but in `vcl_deliver`):
 
 * remove `obj.http.Content-Encoding`
-* remove any "Accept-Encoding" from `obj.http.Content-Encoding`
+* remove any "Accept-Encoding" from `obj.http.Vary`
   (XXX review when closing #940)
 * weaken any `Etag` (by prepending "W/")
 



More information about the varnish-commit mailing list