On Thu, 18 Jun 2015, Satya Deep Maheshwari wrote:
Please see [1] which comes into play when detecting the mime-type from content. I think there is an assumption in Tika's MagicDetector that the stream would always support mark/reset. Probably it should check it explicitly and not proceed if that's not the case.

Are you able to produce a small junit unit test that shows the problem?

Generally though, we'd suggest wrapping things in a TikaInputStream, which takes care of that sort of thing!

Nick

Reply via email to