-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
The sword profile states [http://swordapp.github.io/SWORDv2-Profile/SWORDProfile.html#protocoloperations_deleteconteiner]:
The client can delete the entire object on the server by issuing an HTTP DELETE
request on the Edit-IRI, with the following requirements:
The client MAY provide an On-Behalf-Of header [SWORD001]
DELETE Edit-IRI HTTP/1.1
Host: example.org
Authorization: Basic ZGFmZnk6c2VjZXJldA==
On-Behalf-Of: jbloggs
The requirements placed on the server here are:
If there is an On-Behalf-Of header, the server MUST behave as described in Section 8:
Authentication and Mediated Deposit.
The server MUST effectively remove the Container and all its content, although
implementations may choose to provide versioning or some other mechanism for
retaining the deleted content.
The Edit-IRI MUST return a 404 Not Found on any future requests.
However, I get a 405 on posting to the EIRI and the EMIRIR (for deleting content, not the container):
[status code] 405
[reason phrase] Method Not Allowed
[url] http://localhost:8080/swordv2/edit/14
Metadata
Metadata
Assignees
Labels
No labels