[4.0] d781eb9 fix a badly worded sentence, make choice of tense more consistent

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


commit d781eb9c672d400c4a05dc6fa4b4cf1b8eb66a7b
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Aug 28 11:18:51 2014 +0200

    fix a badly worded sentence, make choice of tense more consistent
    
    Thanks to fgs for reviewing

diff --git a/doc/sphinx/users-guide/compression.rst b/doc/sphinx/users-guide/compression.rst
index e7cfda2..2c3699e 100644
--- a/doc/sphinx/users-guide/compression.rst
+++ b/doc/sphinx/users-guide/compression.rst
@@ -21,10 +21,12 @@ The default behaviour is active when the `http_gzip_support` parameter
 is set to "on" and neither `beresp.do_gzip` nor `beresp.do_gunzip` are
 used in VCL.
 
-Unless returning from `vcl_recv` with `pipe` or `pass`, varnish sets
-`req.http.Accept-Encoding` to "gzip". It removes the header otherwise.
+Unless returning from `vcl_recv` with `pipe` or `pass`, varnish
+modifies `req.http.Accept-Encoding`: If the client supports gzip,
+`req.http.Accept-Encoding` is set to "gzip". Otherwise, the header is
+removed.
 
-Unless the request is a `pass`, Varnish will set
+Unless the request is a `pass`, Varnish sets
 `bereq.http.Accept-Encoding` to "gzip" before `vcl_backend_fetch`
 runs, so the header can be changed in VCL.
 



More information about the varnish-commit mailing list