https://issues.apache.org/bugzilla/show_bug.cgi?id=39727





--- Comment #24 from Paritosh Shah <[email protected]>  2008-12-26 
13:32:50 PST ---
Created an attachment (id=23051)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23051)
fix etag checking in content handlers by stripping "-gzip" from etags in if
headers

A problem with adding "-gzip" to etags is that it breaks etag checking in If-*
headers for content handlers ( e.g. mod_dav ) which will not recognize the
"-gzip" etag as a valid etag for any entity of the resource. One way to fix
this is to strip the "-gzip" suffix from the etags in If-None-Match and
If-Match request headers. Attaching a patch to achieve this. It implements a
fixup hook in mod_deflate and fixes etags in the respective headers. The patch
has been tested with mod_dav_fs for If-Match and If-None-Match headers, with
and without gzip encoding.

Note: this patch depends on the previous patch
(https://issues.apache.org/bugzilla/attachment.cgi?id=23050) having already
been applied.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to