DOC: clarify that compression works for HTTP/2
This patch clarifies that compression also works with HTTP/2. I have
picked the wording "HTTP/1.1 or above" because it is already used
elsewhere in the documentation.
I have tested that compression indeed works in HTTP/2.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
(cherry picked from commit ff80c82877ee9765b1bde3b03a5d61be8d3bf9d2)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 7f314c91d954e2307696d33745ddb139759a360e)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 4dc92e47290533f7f6f0eb97e80dd1caa3289903)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
diff --git a/doc/configuration.txt b/doc/configuration.txt
index 3ecfe77..d1618e1 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -3294,7 +3294,7 @@
Compression is disabled when:
* the request does not advertise a supported compression algorithm in the
"Accept-Encoding" header
- * the response message is not HTTP/1.1
+ * the response message is not HTTP/1.1 or above
* HTTP status code is not one of 200, 201, 202, or 203
* response contain neither a "Content-Length" header nor a
"Transfer-Encoding" whose last value is "chunked"