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

Bertrand Delacretaz commented on SLING-1059:
--------------------------------------------

Content-based mime type detection is more costly than filename-based in all 
cases (even if just a bit), so I'd suggest making the content-based part 
optional.

Ideally in a transparent way: keep the existing interfaces from 
sling.commons.mime-time, and if Tika (or another content-based mime type 
provider) is active, use it.

> 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