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

Implement External Content Handling: Copy

    XMLWordPrintable

    Details

      Description

      Section 3.9 of the Fedora Specification defines a new interaction pattern for external content. The Fedora 4.x interaction is defined here: https://wiki.duraspace.org/display/FEDORA4x/External+Content. In a short the external content handling interaction is triggered via the use of a special variation of the ContentType header. The new interaction, defined in https://fcrepo.github.io/fcrepo-specification/#external-content , uses a link header instead.

      Building on https://jira.duraspace.org/browse/FCREPO-2748, the task here is to add support for copying an external binary using in a PUT or POST with the following header:

      Link: <file:///home/foo/file> ;
      rel="http://fedora.info/definitions/fcrepo#ExternalContent";
      handling="copy";
      type="text/plain"

      If there is no type attribute, use the media type obtained when accessing the external content via the specified scheme (e.g. the Content-Type header for external content accessed via http). Otherwise use default media type (application/octet-stream).

        Attachments

          Activity

            People

            Assignee:
            bseeger Bethany Seeger
            Reporter:
            dbernstein Danny Bernstein
            Reviewer:
            Danny Bernstein
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: