diff --git a/api/api.go b/api/api.go index 94fc10c..6fcaef0 100644 --- a/api/api.go +++ b/api/api.go @@ -488,7 +488,7 @@ func (h *Handler) handlePutBucket(w http.ResponseWriter, r *http.Request) { writeMappedS3Error(w, r, err) return } - w.WriteHeader(http.StatusCreated) + w.WriteHeader(http.StatusOK) } func (h *Handler) handleDeleteBucket(w http.ResponseWriter, r *http.Request) {