Set to mimeType.