[ https://issues.apache.org/jira/browse/MARMOTTA-655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergio Fernández updated MARMOTTA-655: -------------------------------------- Affects Version/s: 3.4.0 3.3.0 > Memento Compliance Issues > ------------------------- > > Key: MARMOTTA-655 > URL: https://issues.apache.org/jira/browse/MARMOTTA-655 > Project: Marmotta > Issue Type: Bug > Components: Web Services > Affects Versions: 3.3.0, 3.4.0 > Reporter: Harihar Shankar > Priority: Minor > > We tested the Memento Compliance of Marmotta, and found a few issues that I > have listed below. I apologize in advance for the long list, please let me > know if you need more information, I am happy to help. > * The Marmotta TimeGate must respond with an HTTP 302 instead of an HTTP 301 > when redirecting to a Memento. > * The Marmotta TimeGate responds with "HTTP 400 Bad Request" when no > Accept-Datetime header is provided. Instead, the TimeGate should respond with > the most recent Memento in this case. This section of the [Memento > RFC|http://mementoweb.org/guide/rfc/#SpecialCases-AD] describes this scenario. > * The Marmotta TimeGate should *not* provide the Memento-Datetime header. > * The Date value expressed in all the headers must be in the HTTP Date > format specified by [RFC 1123|http://www.ietf.org/rfc/rfc1123.txt] and in the > *GMT* timezone, like > {code}Memento-Datetime: Tue, 15 Nov 1994 08:12:31 GMT{code} > This would apply to all the date values in the Link headers, Memento-Datetime > header, and in the TimeMaps. > * When importing data in to Marmotta from a document, the rel="original" in > the Link headers for TimeGate and Memento point to the Subject URL and not > the Marmotta resource instance's {base URL + Subject URL}. > For eg, When we uploaded a document with subject > http://dbpedia.org/resource/English, the TimeGate responds with: > {code} > curl -I "Accept-Datetime: Mon, 19 Sep 2016 23:47:12 GMT" > http://localhost:8080/marmotta/memento/timegate/http://dbpedia.org/resource/English > Link: ..., <http://dbpedia.org/resource/English>;rel="original", .... > {code} > Instead, this should be something like: > {code} > Link: ...., <{marmotta_base_url}+http://dbpedia.org/resource/English>; > rel="original",... > {code} > * The Marmotta versioning page at > http://localhost:8080/marmotta/versioning/admin/about.html points to > MementoFox, which is not maintained any longer and is not recommended. The > [Memento For Chrome|http://bit.ly/memento-for-chrome] extension is actively > maintained and is highly recommended. > In case you are not aware, there is a [Memento > Validator|http://mementoweb.org/tools/validator/] that tests an instance for > RFC compliance. -- This message was sent by Atlassian JIRA (v6.3.4#6332)