Haelwenn (lanodan) Monnier 11844084d0
MIME.valid?(type) → is_bitstring(type) && MIME.extensions(type) != []
Since mime 1.6.0:

  warning: MIME.valid?/1 is deprecated. Use MIME.extensions(type) != [] instead

As for the bitstring(type) part it's because MIME.extensions only expects a string.
https://github.com/elixir-plug/mime/issues/43
2021-06-03 19:11:17 +02:00
..
2021-01-13 07:49:50 +01:00
2021-01-13 07:49:50 +01:00
2021-03-25 13:03:40 +03:00
2021-01-13 07:49:50 +01:00
2021-05-31 16:48:03 -05:00
2021-01-13 07:49:50 +01:00