[
https://issues.apache.org/jira/browse/TIKA-4119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17810105#comment-17810105
]
ASF GitHub Bot commented on TIKA-4119:
--------------------------------------
tballison commented on PR #1556:
URL: https://github.com/apache/tika/pull/1556#issuecomment-1906907783
```
Failures:
Error: TestMimeTypes.testCodeFormats:1151->assertTypeByName:1385
expected: <application/javascript> but was: <text/javascript>
Error:
TestMimeTypes.testTextBasedFormatsDetection:721->assertTypeByName:1385
expected: <application/javascript> but was: <text/javascript>```
Doh Something went wrong in the tests.
> Return media type "text/javascript" instead of "application/javascript to
> follow RFC-9239
> -----------------------------------------------------------------------------------------
>
> Key: TIKA-4119
> URL: https://issues.apache.org/jira/browse/TIKA-4119
> Project: Tika
> Issue Type: Improvement
> Components: mime
> Reporter: Matthias Juchmes
> Priority: Major
> Labels: tika-3x
>
> [RFC-9239|https://www.rfc-editor.org/rfc/rfc9239.html] obsoletes some
> javascript media types, including "application/javascript", which is
> currently returned by Tika for javascript files. "text/javascript" is defined
> as the most widely supported one, so Tika should reflect this.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)