[
https://issues.apache.org/jira/browse/TIKA-483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting resolved TIKA-483.
--------------------------------
Assignee: Jukka Zitting
Fix Version/s: 0.8
Resolution: Fixed
Fixed in revision 986594. I use application/octet-stream for empty files
instead of the non-standard application/x-empty. This loses some information,
but on the other hand allows type inheritance rules to work correctly in cases
like when a type hint like "filename.txt" suggests a more specific media type.
> Empty file detected as text/plain
> ---------------------------------
>
> Key: TIKA-483
> URL: https://issues.apache.org/jira/browse/TIKA-483
> Project: Tika
> Issue Type: Bug
> Affects Versions: 0.7
> Reporter: Jukka Zitting
> Assignee: Jukka Zitting
> Fix For: 0.8
>
>
> Our current type detection code returns text/plain for an empty document. A
> more better return type would be application/octet-stream, to give higher
> level detectors like filename suffix hints more flexibility.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.