You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Piotr B. (JIRA)" <ji...@apache.org> on 2010/08/17 18:57:15 UTC

[jira] Commented: (TIKA-483) Empty file detected as text/plain

    [ https://issues.apache.org/jira/browse/TIKA-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899467#action_12899467 ] 

Piotr B. commented on TIKA-483:
-------------------------------

Unix 'file -i' command returns application/x-empty for an empty document.

> 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
>
> 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.