# Are MIME types still relevant?

**URL:** <https://boards.straightdope.com/t/are-mime-types-still-relevant/637867>\
**Category:** Factual Questions\
**Created:** [October 16, 2012, 11:02am UTC](https://boards.straightdope.com/t/are-mime-types-still-relevant/637867 "2012-10-16T11:02:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Reply](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/reply/32/15952_2.png) [@Reply](https://boards.straightdope.com/u/Reply)\
**Post date:** [October 16, 2012, 11:02am UTC](https://boards.straightdope.com/t/are-mime-types-still-relevant/637867/1 "2012-10-16T11:02:11Z")

</div>

With most file types these days containing format identification either through their file extension, some sort of metadata, or a format header (or all of the above), are MIME types still necessary?

Do modern browsers even care? Do servers?

---

<div class="post-metadata">

**Author:** ![leahcim](https://avatars.discourse-cdn.com/v4/letter/l/b4bc9f/32.png) [@leahcim](https://boards.straightdope.com/u/leahcim)\
**Post date:** [October 16, 2012, 11:23am UTC](https://boards.straightdope.com/t/are-mime-types-still-relevant/637867/2 "2012-10-16T11:23:25Z")

</div>

If you have a dynamically-created resource that can change type (e.g. a dynamically-created image that can be either a jpg or a png), but want to put it at a known-in-advance URL, it is useful because the URL can’t contain a reliable file extension. I think that modern browsers do care about mime types and will only resort to guessing from the extension if it is unspecified or obviously wrong.

Also, the one that is forever trapped in an invisible box is an apt metaphor for the constraints of outdated social mores in modern society, just to get that out of the way.

---

<div class="post-metadata">

**Author:** ![dam0](https://avatars.discourse-cdn.com/v4/letter/d/22d042/32.png) [@dam0](https://boards.straightdope.com/u/dam0)\
**Post date:** [October 16, 2012, 11:50am UTC](https://boards.straightdope.com/t/are-mime-types-still-relevant/637867/3 "2012-10-16T11:50:46Z")

</div>

Absolutely. We develop custom applications and use web servers as a transmission method for data. Without mime types we couldn’t define our custom file type handling on the web server.

---

<div class="post-metadata">

**Author:** ![friedo](https://avatars.discourse-cdn.com/v4/letter/f/8edcca/32.png) [@friedo](https://boards.straightdope.com/u/friedo)\
**Post date:** [October 16, 2012, 3:14pm UTC](https://boards.straightdope.com/t/are-mime-types-still-relevant/637867/4 "2012-10-16T15:14:54Z")

</div>

They are absolutely relevant for anyone doing web application work.

---

<div class="post-metadata">

**Author:** ![BigT](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/bigt/32/12044_2.png) [@BigT](https://boards.straightdope.com/u/BigT)\
**Post date:** [October 16, 2012, 9:43pm UTC](https://boards.straightdope.com/t/are-mime-types-still-relevant/637867/5 "2012-10-16T21:43:50Z")

</div>

They’re also quite relevant if you want need to include binary data in a text file, which happens more often than you’d expect.
