[master] 58c2793 Fix a header name confusion

Nils Goroll nils.goroll at uplex.de
Thu Aug 28 13:02:07 CEST 2014


commit 58c27934c430dd1f0bac13dc5ab685f02f885acd
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