https://bz.apache.org/bugzilla/show_bug.cgi?id=64265

--- Comment #5 from Mark Thomas <ma...@apache.org> ---
The DefaultServlet defers to the WebResources implementation to generate ETags.

The WebResource implementation provided by Tomcat is hard-coded to only provide
weak ETags. It would be a fair amount of work for a custom implementation to
override that (and none has ever asked us to make that easier).

Given the above, I think it makes sense for now for the DefaultServlet to
perform the weak comparison. If the resource implementation changes, there
could be an argument for the DefaultServlet to do something else.

I'll work on a patch (and test cases) for DefaultServlet.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to