Skip to content

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

@sblaisot

Description

@sblaisot

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions