Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2979

tika-server shouldn't throw an exception for a non-supported format

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.23
    • Component/s: None
    • Labels:
      None

      Description

      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?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tallison Tim Allison
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: