Add mimetype to response object