plug_mime_type_check

A Plug that checks the mime type of a uploaded file trough API request


License
Apache-2.0

Documentation

PlugMimeTypeCheck

A Plug that checks the mime type of a uploaded file trough API request

Installation

If available in Hex, the package can be installed by adding plug_mime_type_check to your list of dependencies in mix.exs:

def deps do
  [
    {:plug_mime_type_check, "~> 0.1.2"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/plug_mime_type_check.