Make sure mime_type is supplied when checking validity