Skip to content

Commit

Permalink
remove MinIO release tag as part of HTTP Server string (minio#10929)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana authored Nov 19, 2020
1 parent 70d2c2c commit d778d94
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/api-headers.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ func setEventStreamHeaders(w http.ResponseWriter) {

// Write http common headers
func setCommonHeaders(w http.ResponseWriter) {
w.Header().Set(xhttp.ServerInfo, "MinIO/"+ReleaseTag)
// Set the "Server" http header.
w.Header().Set(xhttp.ServerInfo, "MinIO")

// Set `x-amz-bucket-region` only if region is set on the server
// by default minio uses an empty region.
if region := globalServerRegion; region != "" {
Expand Down

0 comments on commit d778d94

Please sign in to comment.