Mailing List Archive

[Bug 45023] DEFLATE preventing 304 NOT MODIFIED response
https://bz.apache.org/bugzilla/show_bug.cgi?id=45023

--- Comment #30 from klokhuiswertas@gmail.com ---
the issue with Comment 26 seems to me that if you send a request with
`if-none-match: "0-5debc62fd30dd-br"` it'll respond with `etag:
"0-5debc62fd30dd"` (which is missing the `-br` part)

it seems to me that something like the following solves it

SetEnvIf If-None-Match '^"((.*)-(gzip))"$' gzip
SetEnvIf If-None-Match '^"((.*)-(br))"$' br
RequestHeader edit "If-None-Match" '^"((.*)-(gzip|br))"$' '"$1", "$2"'
Header edit "ETag" '^"(.*)"$' '"$1-gzip"' env=gzip
Header edit "ETag" '^"(.*)"$' '"$1-br"' env=br

--
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