[ 
https://issues.apache.org/jira/browse/SLING-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12734033#action_12734033
 ] 

Felix Meschberger commented on SLING-1059:
------------------------------------------

This is probably wrong ;-)

Sling's WebDAV is using Sling's MIME Type service to resolve names to mime 
types and the mime type list of the Sling MIME type service is based on the 
MIME types list maintained by Roy Fielding for the http project. So this is 
list is probably the best maintained list.

The problem of tika is, that it is all but lean -- in fact it is quite heavy 
weight, at least the last time I looked at it. In addition, I see no added 
functionality in tika, either -- except for a few non-standard (read "private") 
mime types for RAW image formats. In fact the Sling MIME type service is 
extensible enough to add the missing tika-specific name-to-type mappings as an 
extension to the Sling MIME type service.

So -1 to using tika for now.

> 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.

Reply via email to