tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-2924) tika-server should return 400 not 500 when there's a bad pdfconfig header
Date Fri, 16 Aug 2019 21:20:00 GMT

    [ 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)

Mime
View raw message