Store the mime type of the resource.