Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Different behaviour from the AWS Java SDK when deleting a non-existing item #191

Open
@kebbaman

Description

@kebbaman

As stated in the official documentation https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/s3/AmazonS3.html#deleteObject-java.lang.String-java.lang.String- and as addressed by issue #97 the delete API has a different behaviour than the counterpart on the official client.
Using the findify library, attempting to delete an object that does not exist will result in a 404 object not found AmazonS3Exception.
Whereas the official client in the same exact situation would return a success response.
in the mentioned issue i saw a pull request that addresses the described problem, would it be possible to merge it? Or would it be possible for you to allign the behaviour of this specific case to the behaviour that the official client would have in the same situation?
Hoping for a reply,
Thank you in advance.
Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions