MimeTypeCheck
A Phoenix Plug that checks the mime type of a uploaded file trough a request
Installation
If available in Hex, the package can be installed
by adding mime_type_check to your list of dependencies in mix.exs:
def deps do
[
{:mime_type_check, "~> 0.1.0"}
]
endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/mime_type_check.