[ 
https://issues.apache.org/jira/browse/SLING-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jukka Zitting updated SLING-1059:
---------------------------------

    Attachment: 0001-SLING-1059-Mime-Type-Detection-should-use-Apache-Tik.patch

Attached a proposed patch that adds a TikaMimeTypeProvider service based on an 
optional tika-core dependency.
                
> Mime Type Detection should use Apache Tika
> ------------------------------------------
>
>                 Key: SLING-1059
>                 URL: https://issues.apache.org/jira/browse/SLING-1059
>             Project: Sling
>          Issue Type: Improvement
>          Components: Commons
>    Affects Versions: Commons Mime 2.1.4
>            Reporter: Lars Trieloff
>            Priority: Minor
>         Attachments: 
> 0001-SLING-1059-Mime-Type-Detection-should-use-Apache-Tik.patch
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to