API returns proper mime type