diff --git a/fakestorage/object.go b/fakestorage/object.go index fa7b188166..be984f9c27 100644 --- a/fakestorage/object.go +++ b/fakestorage/object.go @@ -396,6 +396,7 @@ func (s *Server) getObject(w http.ResponseWriter, r *http.Request) { return } w.Header().Set("Accept-Ranges", "bytes") + w.Header().Set("Content-Type", "application/json") encoder.Encode(newObjectResponse(obj)) }