Check whether a file's reported MIME type is permitted for upload. This does not validate the file contents—only the claimed type.
Uploaded file metadata (original name, mimetype, etc.)
Object indicating any validation error and whether the file is permitted
Check whether a file's reported MIME type is permitted for upload. This does not validate the file contents—only the claimed type.