[
https://issues.apache.org/jira/browse/SLING-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760552#action_12760552
]
Felix Meschberger commented on SLING-1059:
------------------------------------------
Point is that this does not help much: we have the up to date list in Sling and
the code works reliably and if the size matters, the current Sling module wins,
too ;-)
So for the purly name based MIME type mapping I don't -- currently -- see a
pressing need to go for Tika.
And as I said before, the current Sling based approach is extensible at run
time.
It is a different matter if we talk about content-based content type
recognition. In this case, I would definitely go for something like Tika --
even though, this should probably be a standalone module, which you may take or
leave ... and I would think, that it would even be better, if Tika would
provide extensible bundles without Sling requiring to package something up ...
> Mime Type Detection for WebDAV should use Apache Tika
> -----------------------------------------------------
>
> Key: SLING-1059
> URL: https://issues.apache.org/jira/browse/SLING-1059
> Project: Sling
> Issue Type: Improvement
> Reporter: Lars Trieloff
> Priority: Minor
>
> Sling's WebDAV servlet currently has its own Mime Type detection mechanism.
> Given that Tika is a dependency of the soon to be added Jackrabbit 2.0 we can
> re-use Tika's Mime Type detection mechanism for greater accuracy and a better
> maintained list of mimetype-extension-mappings.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.