MIME types

Search the bundled extension-to-media-type registry. Detection by extension alone is not a security check.