mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
remove MinIO release tag as part of HTTP Server string (#10929)
This commit is contained in:
parent
70d2c2ccc9
commit
d778d9493f
@ -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 != "" {
|
||||
|
Loading…
Reference in New Issue
Block a user