MIME types (Multipurpose Internet Mail Extensions) relay information to the browser about how to handle file extensions. MIME types can…