Re: TIKA not returning exact MIME type

2016-05-27 Thread Nick Burch
On Fri, 27 May 2016, Rahul Khandelwal wrote: I am using detect/stream api to retrieve the MIME type of the file. But it's not returning exact MIME type for some document if i am passing 1KB of data of that file. That's expected For example - For open office document it's returning

TIKA not returning exact MIME type

2016-05-27 Thread Rahul Khandelwal
Hi, I am using detect/stream api to retrieve the MIME type of the file. But it's not returning exact MIME type for some document if i am passing 1KB of data of that file. For example - For open office document it's returning application/zip (parent MIME type) for .odp file instead of