Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-2815

Section 3.9 Creation of historic memento of external binary fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Fedora 5.0.0
    • Fix Version/s: Fedora 5.0.0
    • Component/s: None
    • Labels:
      None
    • Roadmap Theme:
      API Specification, Services: Versioning
    • Epic Link:

      Description

      Creating a versioned external binary works, as well as creating a memento from the current version. However, creating an external historic memento fails. See the following commands:

      curl -i -XPOST -H "Slug:logov" -H "Link: <http://mementoweb.org/ns#OriginalResource>; rel=\"type\"" "Link: <https://duraspace.org/wp-content/themes/duraspace/assets/images/whitedura.png>; rel=\"http://fedora.info/definitions/fcrepo#ExternalContent\"; handling=\"proxy\"; type=\"image/png\"" "http://localhost:8080/rest/" -ufedoraAdmin:fedoraAdmin
       
      curl -XPOST http://localhost:8080/rest/logov/fcr:versions -H "Memento-Datetime: Sat, 1 Jan 2000 00:00:00 GMT" -H "Link: <https://wiki.duraspace.org/download/attachments/31655033/fedora_logo_2in.png>; rel=\"http://fedora.info/definitions/fcrepo#ExternalContent\"; handling=\"proxy\"; type=\"image/png\"" -ufedoraAdmin:fedoraAdmin
       
      #Response:
      # < HTTP/1.1 415 Unsupported Media Type
      # Invalid Content Type application/octet-stream

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ben.pennell Ben Pennell
              Reporter:
              ben.pennell Ben Pennell
              Reviewer:
              Jared Whiklo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: