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