httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 39727] Incorrect ETag on gzip:ed content
Date Mon, 10 Feb 2020 18:45:23 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=39727

--- Comment #46 from Henrik Nordstrom <hno@squid-cache.org> ---
I havet not studied the code in detail, but a note of warning when stripping
information from the etag in if clauses, it is not always straight forward.

For example if you add a nice gzip suffix to the etag when gzip encoding and
then strip this in if-none-match processing then you risk creating the same
problem all over again as you loose the distinction between an identity encoded
variant and an gzip encoded variant.

What you should do is to reconstruct the actual etag the server would have
responded with and then compare this with the if clauses. You may take whatever
shortcuts you like in this process as long as the result is consistent.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message