[
https://issues.apache.org/jira/browse/TIKA-2111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15625640#comment-15625640
]
Hudson commented on TIKA-2111:
------------------------------
SUCCESS: Integrated in Jenkins build Tika-trunk #1130 (See
[https://builds.apache.org/job/Tika-trunk/1130/])
TIKA-2111 - set instead of add "Content-Type" in the ExecutableParser
(tallison: rev 15a92302501d5ee6a319442c8109eafe37ec4595)
* (edit)
tika-parsers/src/test/java/org/apache/tika/parser/executable/ExecutableParserTest.java
* (edit)
tika-parsers/src/main/java/org/apache/tika/parser/executable/ExecutableParser.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
>
> 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)