SWORD module requires the X-Packaging header
--------------------------------------------

                 Key: DS-200
                 URL: http://jira.dspace.org/jira/browse/DS-200
             Project: DSpace 1.x
          Issue Type: Bug
    Affects Versions: 1.5.2
            Reporter: Claudio Venturini
            Priority: Minor


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to