Fix mime type override with accept header.