Hello Martin,

using Tika you can guess mime type (we are using this code [1] for this)
I'm creating temp files due to InputStream is re-positioned during
type guessing, maybe there are better solutions ...

On Fri, Jan 12, 2018 at 8:12 AM, Martin Todorov <[EMAIL PROTECTED]> wrote:

WBR
Maxim aka solomax
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB