This commit is contained in:
chrislu
2022-05-01 23:16:29 -07:00
parent ce1e8e58ae
commit 00c1dfec4f
3 changed files with 5 additions and 5 deletions

View File

@@ -135,7 +135,7 @@ func (s3a *S3ApiServer) PutBucketHandler(w http.ResponseWriter, r *http.Request)
s3err.WriteErrorResponse(w, r, s3err.ErrInternalError)
return
}
w.Header().Set("Location", "/" + bucket)
w.Header().Set("Location", "/"+bucket)
writeSuccessResponseEmpty(w, r)
}