mirror of
https://github.com/minio/minio.git
synced 2025-11-21 02:09:08 -05:00
Reply back proper statuses for DeleteBucket/DeleteObject
This commit is contained in:
@@ -46,7 +46,7 @@ func generateRequestID() []byte {
|
||||
func setCommonHeaders(w http.ResponseWriter, contentLength int) {
|
||||
// set unique request ID for each reply
|
||||
w.Header().Set("X-Amz-Request-Id", string(generateRequestID()))
|
||||
w.Header().Set("Server", ("Minio/" + minioReleaseTag + " (" + runtime.GOOS + ";" + runtime.GOARCH + ")"))
|
||||
w.Header().Set("Server", ("Minio/" + minioReleaseTag + " (" + runtime.GOOS + "; " + runtime.GOARCH + ")"))
|
||||
w.Header().Set("Accept-Ranges", "bytes")
|
||||
w.Header().Set("Connection", "close")
|
||||
// should be set to '0' by default
|
||||
|
||||
Reference in New Issue
Block a user