[jira] [Created] (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] [Created] (TIKA-2979) tika-server shouldn't throw an exception for a non-supported format

Tim Allison (Jira)
Tim Allison created TIKA-2979:
---------------------------------

             Summary: 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


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)