mirror of
https://github.com/minio/minio.git
synced 2025-01-12 07:23:23 -05:00
Fix minio header in accordance with rfc2616.txt
This commit is contained in:
parent
0079849938
commit
4bcd86408b
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user