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.
According to swift doc PUT request on object (object creation) returns 404 if container is not found
ObjectCreate()function is currently mapped againstobjectErrorMaphere so ncw/swift interprets 404 on object PUT asObjectNotFoundinstead ofContainerNotFoundwhich is confusing.