[jira] [Commented] (TIKA-2979) tika-server shouldn't throw an exception for a non-supported format

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (TIKA-2979) tika-server shouldn't throw an exception for a non-supported format

Jorge Spinsanti (Jira)

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

Tim Allison commented on TIKA-2979:
-----------------------------------

If there are no objections, I'll make this change for 1.23 and document it.

> tika-server shouldn't throw an exception for a non-supported format
> -------------------------------------------------------------------
>
>                 Key: TIKA-2979
>                 URL: https://issues.apache.org/jira/browse/TIKA-2979
>             Project: Tika
>          Issue Type: Improvement
>            Reporter: Tim Allison
>            Priority: Minor
>
> tika-server throws an UnsupportedMediaTypeException if there is no parser for a given format.  This prevents users from getting the mime type and any digests that were computed on the stream.  Further this is different behavior than tika-app where we rely on the EmptyParser to do nothing.
> Is there a need for this exception?
> Would it be too great a change to turn off this behavior?  If it would be, any recommendations for the commandline switch to turn it off?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)