Make minio work with curl and browsers again

This commit is contained in:
Frederick F. Kautz IV
2015-04-29 18:30:17 -07:00
parent 73de05feb6
commit 82a16b8848
2 changed files with 19 additions and 22 deletions
-6
View File
@@ -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
}