Uploaded image for project: 'Marmotta (Retired)'
  1. Marmotta (Retired)
  2. MARMOTTA-655

Memento Compliance Issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Minor
    • Resolution: Unresolved
    • 3.3.0, 3.4.0
    • None
    • Web Services
    • None

    Description

      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 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 and in the GMT timezone, like
        Memento-Datetime: Tue, 15 Nov 1994 08:12:31 GMT

        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:

        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", ....
        

        Instead, this should be something like:

        Link: ...., <{marmotta_base_url}+http://dbpedia.org/resource/English>; rel="original",...
        

      In case you are not aware, there is a Memento Validator that tests an instance for RFC compliance.

      Attachments

        Activity

          People

            tkurz@apache.org Thomas Kurz
            hariharshankar@gmail.com Harihar Shankar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: