mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-26 22:25:50 +03:00
[GH-ISSUE #804] Creating a bucket that already exists should return a 409 #130
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#130
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dnerdy on GitHub (Jun 2, 2022).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/804
Both the fs and memory backend return 200 responses when creating a bucket that already exists (the fs backend uses os.MkdirAll and the memory backend allows re-creation of existing buckets as long as VersioningEnabled matches).
GCS returns a 409 response when attempting to create a bucket that already exists. It would be nice if fake-gcs-server matched this behavior.