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

Add versioning response headers to LDPRv HEAD/GET responses w/o Accept-Datetime

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Fedora 5.0.0
    • Fix Version/s: Fedora 5.0.0
    • Component/s: f4-core
    • Labels:
      None
    • Roadmap Theme:
      Services: Versioning
    • Epic Link:
    • Sprint:
      API Alignment Sprint 02

      Description

      The following headers should be added to responses to HEAD and GET requests to LDPRv's only when the resource is versioned (has the http://fedora.info/definitions/fcrepo#VersionedResource type):

      * Vary: accept-datetime
      * Include 'Link: rel="timegate"' referencing itself.
      * Include 'Link: rel="timemap"' on versioned resource pointing to LDPCv.
      * Since the LDPRv is also its own timegate, it must return an 'original' link header referencing itself

      See Pattern 1.2 in https://tools.ietf.org/html/rfc7089#page-18 for details.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dbernstein Danny Bernstein
                Reporter:
                ben.pennell Ben Pennell
                Reviewer:
                Andrew Woods
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: