From 4bcd86408ba4b3b11a20bc050f7981125611da62 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Thu, 17 Sep 2015 23:46:10 -0700 Subject: [PATCH] Fix minio header in accordance with rfc2616.txt --- pkg/server/api/headers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/server/api/headers.go b/pkg/server/api/headers.go index a1997bf23..80626c2ce 100644 --- a/pkg/server/api/headers.go +++ b/pkg/server/api/headers.go @@ -53,7 +53,7 @@ func generateRequestID() []byte { func setCommonHeaders(w http.ResponseWriter, acceptsType string, contentLength int) { // set unique request ID for each reply w.Header().Set("X-Amz-Request-Id", string(generateRequestID())) - w.Header().Set("Server", ("Minio/" + version.Version + " (" + runtime.GOOS + "," + runtime.GOARCH + ")")) + w.Header().Set("Server", ("Minio/" + version.Version + " (" + runtime.GOOS + ";" + runtime.GOARCH + ")")) w.Header().Set("Accept-Ranges", "bytes") w.Header().Set("Content-Type", acceptsType) w.Header().Set("Connection", "close")