Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-200

SWORD module requires the X-Packaging header

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.2
    • Fix Version/s: 1.6.0
    • Component/s: SWORD
    • Labels:
      None
    • Attachments:
      1
    • Comments:
      5

      Description

      The use of the X-Packaging HTTP header seems to be mandatory in the POST request, in order to create a new resource.
      The SWORD Atom profile 1.3 says that this header SHOULD be used by the client, but is not mandatory. Its value must be one of the packaging formats accepted by DSpace. The specification also says that if the server cannot accept the format given in the header it MUST return a status code of 415 Unsupported Media Type.
      However the actual implementation of SWORD acts in a different way. If the header is not present in the POST request, the server returns a status code of 500 Internal Server Error.
      In the response there isn't any error message or stack trace.

        Attachments

          Activity

            People

            • Assignee:
              stuartlewis Stuart Lewis
              Reporter:
              ratrace Claudio Venturini
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: