Florent Guillaume created CMIS-1080:
---------------------------------------
Summary: If-None-Match header does not parse ETag lists
Key: CMIS-1080
URL: https://issues.apache.org/jira/browse/CMIS-1080
Project: Chemistry
Issue Type: Bug
Components: opencmis-server
Affects Versions: OpenCMIS 1.1.0
Reporter: Florent Guillaume
[RFC 7232 §3.2|https://tools.ietf.org/html/rfc7232#section-3.2] specifies that
the {{If-None-Match}} header can take a comma-separated list of entity tags:
{quote}
If-None-Match = "*" / 1#entity-tag
{quote}
(The {{1#}} syntax represents a comma-separated list with at least one element,
as explained in [RFC 7230 §7|https://tools.ietf.org/html/rfc7230#section-7],
referenced in the intro in [RFC 7232
§1.2|https://tools.ietf.org/html/rfc7232#section-1.2]).
However currently the parsing done in
{{org.apache.chemistry.opencmis.server.shared.AbstractServiceCall#sendContentStreamHeaders}}
assumes only one ETag, and does not parse (and test) multiple ones.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)