[
https://issues.apache.org/jira/browse/TIKA-2111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15642939#comment-15642939
]
Hudson commented on TIKA-2111:
------------------------------
FAILURE: Integrated in Jenkins build tika-2.x-windows #69 (See
[https://builds.apache.org/job/tika-2.x-windows/69/])
TIKA-2111 - ExecutableParser should set rather than add a Content-Type
(tallison: rev a6978521fb4c75195180d33734ceb23de8b6bd43)
* (edit)
tika-parser-modules/tika-parser-code-module/src/main/java/org/apache/tika/parser/executable/ExecutableParser.java
* (edit)
tika-parser-modules/tika-parser-code-module/src/test/java/org/apache/tika/parser/executable/ExecutableParserTest.java
> Executable Parser adds Content-Type instead of setting
> ------------------------------------------------------
>
> Key: TIKA-2111
> URL: https://issues.apache.org/jira/browse/TIKA-2111
> Project: Tika
> Issue Type: Bug
> Reporter: Tim Allison
> Priority: Trivial
> Fix For: 2.0, 1.15
>
>
> The ExecutableParser {{add}} s {{Content-Type}} instead of setting it. This
> can lead to multiple or duplicate {{Content-Type}} s.
> Should probably have asked on the user-list first...Is this the desired
> behavior? If not, let's convert {{add()}} to {{set()}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)