Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ObjectCreate() 404 return is wrongly interpreted as ObjectNotFound instead of ContainerNotFound #169

Open
sblaisot opened this issue May 10, 2021 · 0 comments

Comments

@sblaisot
Copy link

According to swift doc PUT request on object (object creation) returns 404 if container is not found

If the container for the object does not already exist, the operation returns the 404 Not Found response code.

ObjectCreate() function is currently mapped against objectErrorMap here so ncw/swift interprets 404 on object PUT as ObjectNotFound instead of ContainerNotFound which is confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant