When trying to retrieve an item from DSpace, it may happen that the item does not exist any longer, and the GET request will the get HTTP status 404. It would then be useful if the RepositoryItem object used for retrieval had a method that could tell the HTTP status code, or a method that could otherwise indicate the reason for the failure.
When trying to retrieve an item from DSpace, it may happen that the item does not exist any longer, and the GET request will the get HTTP status 404. It would then be useful if the RepositoryItem object used for retrieval had a method that could tell the HTTP status code, or a method that could otherwise indicate the reason for the failure.