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 Sat, 17 Aug 2019 00:08:00 GMT

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

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

SUCCESS: Integrated in Jenkins build Tika-trunk #1698 (See [https://builds.apache.org/job/Tika-trunk/1698/])
TIKA-2924 -- tika server should return 400 for bad headers, not 500 (tallison: [https://github.com/apache/tika/commit/8257e85ae0849e4ce120d5e1be8a91afac5b557c])
* (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