MIME.extensions
You're seeing just the function
extensions
, go back to MIME module for more information.
Specs
Returns the extensions associated with a given MIME type.
Examples
iex> MIME.extensions("text/html")
["html", "htm"]
iex> MIME.extensions("application/json")
["json"]
iex> MIME.extensions("application/vnd.custom+xml")
["xml"]
iex> MIME.extensions("foo/bar")
[]