You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2019/08/16 21:20:00 UTC

[jira] [Commented] (TIKA-2924) tika-server should return 400 not 500 when there's a bad pdfconfig header

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

Hudson commented on TIKA-2924:
------------------------------

SUCCESS: Integrated in Jenkins build tika-branch-1x #232 (See [https://builds.apache.org/job/tika-branch-1x/232/])
TIKA-2924 -- tika server should return 400 for bad headers, not 500 (tallison: [https://github.com/apache/tika/commit/8b47efec894c13912af14e5da1e942220711970a])
* (edit) tika-server/src/main/java/org/apache/tika/server/resource/TikaResource.java
* (edit) tika-server/src/test/java/org/apache/tika/server/TikaResourceTest.java


> tika-server should return 400 not 500 when there's a bad pdfconfig header
> -------------------------------------------------------------------------
>
>                 Key: TIKA-2924
>                 URL: https://issues.apache.org/jira/browse/TIKA-2924
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Tim Allison
>            Priority: Trivial
>
> Currently, if there's a bad pdfconfig header, the server returns 500 (InternalServerError).  It should return 400 (BadRequest).



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)