Learn

MIME Types Guide

About this tool

Look up the MIME type for a file extension, or work backwards from a type to the extensions it covers.

Questions

Why does one extension have two types?
Because of history. .js is text/javascript today, but application/javascript still appears in older configurations, and servers generally accept both.