What is MIME Type?
A MIME type (media type) is a standardized label like text/html, application/json, or image/png that tells browsers and servers how to interpret a file’s contents. It appears in HTTP headers such as Content-Type.
Getting the MIME type right matters: the wrong type can cause a browser to download a file instead of displaying it, or refuse to run a script.