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

Prefer header should determine response entity on LDPR creation

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Fedora 4.4.0
    • Fix Version/s: None
    • Component/s: f4-core
    • Labels:
      None
    • Roadmap Theme:
      Services: CRUD

      Description

      "Prefer: return=minimal" should return the newly created LDPR URI in the format indicated in the Content-Type header (possibly matching the Accept request header).

      "Prefer: return=representation" should return a representation of the newly created resource in line with a subsequent GET.

      If a Prefer header is included, the response should include a Preference-Applied header.

      The default behavior should be the minimal response, but not include a Preference-Applied header.

      See also:
      https://www.w3.org/TR/ldp/#prefer-parameters
      https://tools.ietf.org/html/rfc7240
      https://groups.google.com/d/msg/fedora-tech/84EzwFUZvJU/p2_moiBGBwAJ

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                barmintor Benjamin Armintor
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: