mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 20:50:22 +03:00
Make minio work with curl and browsers again
This commit is contained in:
@@ -32,12 +32,6 @@ func getContentType(req *http.Request) contentType {
|
||||
switch {
|
||||
case acceptHeader == "application/json":
|
||||
return jsonContentType
|
||||
case acceptHeader == "application/xml":
|
||||
return xmlContentType
|
||||
case acceptHeader == "*/*":
|
||||
return xmlContentType
|
||||
case acceptHeader != "":
|
||||
return unknownContentType
|
||||
default:
|
||||
return xmlContentType
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user