DOC: typo and minor fixes in compression paragraph

This commit is contained in:
Baptiste Assmann 2013-01-05 15:44:44 +01:00 committed by Willy Tarreau
parent 56e9ffa6a6
commit 650d53d839

View File

@ -1926,15 +1926,23 @@ compression offload
then be used for such scenarios. then be used for such scenarios.
Compression is disabled when: Compression is disabled when:
* the server is not HTTP/1.1. * the request does not advertise a supported compression algorithm in the
"Accept-Encoding" header
* the response message is not HTTP/1.1
* HTTP status code is not 200 * HTTP status code is not 200
* requests does not contain Transfer-Encoding: chunked or Content-Length. * response contain neither a "Content-Length" header nor a
* Content-Type is multipart "Transfer-Encoding" whose last value is "chunked"
* the request contains "Cache-control: no-transform". * response contains a "Content-Type" header whose first value starts with
* User-Agent matches "Mozilla/4" except MSIE 6 with XP SP2, or MSIE 7 and later. "multipart"
* The response is already compressed (see compression offload). * the response contains the "no-transform" value in the "Cache-control"
header
* User-Agent matches "Mozilla/4" unless it is MSIE 6 with XP SP2, or MSIE 7
and later
* The response contains a "Content-Encoding" header, indicating that the
response is already compressed (see compression offload)
The compression does not rewrite Etag headers Note: The compression does not rewrite Etag headers, and does not emit the
Warning header.
Examples : Examples :
compression algo gzip compression algo gzip