Web Development
web
http
formats
What is MIME Type?
Definition
MIME (Multipurpose Internet Mail Extensions) types are labels that identify the format of a file or data stream. Written as type/subtype (e.g., text/html, application/json, image/png), they tell browsers and servers how to handle content.
Why It Matters
MIME types determine how browsers render responses — whether as HTML, downloadable files, or images. Incorrect MIME types cause rendering failures, security warnings, and CORS issues. Every HTTP Content-Type header contains a MIME type.