Right now, the crate uses the contents of the file to determine mime, similar to the command file. However, it should base it on solely the file extension, like xdg-*.
Right now, if you make an empty file, eg. touch test.txt, then try handlr open test.txt, it will fail with no handlers found for 'application/x-zerosize'.
Right now, the crate uses the contents of the file to determine mime, similar to the command
file
. However, it should base it on solely the file extension, likexdg-*
.Right now, if you make an empty file, eg.
touch test.txt
, then tryhandlr open test.txt
, it will fail withno handlers found for 'application/x-zerosize'
.