Mime
TODO: JSON not set
Class methods
from_extension(extension)
Get the mime type from an extension This does not allow extensions with dots or full paths TODO allow dots and full paths
index
Get the mimetype index
TODO: Is it a good idea to cache this? Is there a middle road availible?