use content_type over depreciated mimetype