mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 13:51:26 +02:00
DOC: compression: Update the reasons for disabled compression
- Update the list of status codes to include 201 - 203. - Remove the fact about the temporary workaround for chunked responses (this is verified using reg-test compression/h00000.vtc). - Add malformed ETags see b229f018eedef4d18571ce6da23d8e153249a836 This commit should be backported together with b229f018eedef4d18571ce6da23d8e153249a836 the changes should be correct until 1.7 at the very least, possibly older.
This commit is contained in:
parent
1f035507af
commit
bb48c9a0ee
@ -3100,9 +3100,7 @@ compression offload
|
||||
* 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
|
||||
* response header "Transfer-Encoding" contains "chunked" (Temporary
|
||||
Workaround)
|
||||
* 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"
|
||||
* response contains a "Content-Type" header whose first value starts with
|
||||
@ -3113,6 +3111,7 @@ compression offload
|
||||
and later
|
||||
* The response contains a "Content-Encoding" header, indicating that the
|
||||
response is already compressed (see compression offload)
|
||||
* The response contains an invalid "ETag" header or multiple ETag headers
|
||||
|
||||
Note: The compression does not emit the Warning header.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user