Changed 201 Created to 200 OK when creating bucket

This commit is contained in:
2026-03-12 00:28:01 +01:00
parent 82cb58dff1
commit c2215d8589

View File

@@ -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) {