Hello, there is note in mimemagic gem README. MimeMagic is a library to detect the mime type of a file by extension or by `content`. ``` MimeMagic.by_magic(File.open('test.html')) ``` So in what cases should I use `cocaine` ? When `mimemagic` is not enough?
Hello, there is note in mimemagic gem README.
MimeMagic is a library to detect the mime type of a file by extension or by
content.So in what cases should I use
cocaine? Whenmimemagicis not enough?