AtomGraph/Core

Response EntityTag should depend on Variant

Closed this issue · 0 comments

Right now the EntityTag is generated as a hash of the RDF response Model, which means all serializations, including XHTML, get the same value. This leads to caching issues (wrong response body returned on 304 Not Modified. The solution is to add Variant hash to the Model hash.