Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
OpenCMIS 1.1.0
-
None
-
None
Description
In org.apache.chemistry.opencmis.server.shared.AbstractServiceCall#sendContentStreamHeaders, if the ETag is determined to be identical to the If-None-Match criteria, a status 304 (Not Modified) is returned immediately.
However RFC 7232 §4.1 explicitly states:
The server generating a 304 response MUST generate any of the following header fields that would have been sent in a 200 (OK) response to the same request: Cache-Control, Content-Location, Date, ETag, Expires, and Vary.
So the Etag header (and Expires if applicable) is missing from what OpenCMIS is returning.