You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Satya Deep Maheshwari (JIRA)" <ji...@apache.org> on 2015/05/21 13:03:59 UTC

[jira] [Created] (SLING-4732) Enhance mime-type detection in webdav to optionally detect based on content

Satya Deep Maheshwari created SLING-4732:
--------------------------------------------

             Summary: Enhance mime-type detection in webdav to optionally detect based on content
                 Key: SLING-4732
                 URL: https://issues.apache.org/jira/browse/SLING-4732
             Project: Sling
          Issue Type: Improvement
          Components: Servlets
            Reporter: Satya Deep Maheshwari
            Priority: Minor


Currently the Sling webdav servlet detects the content's mime-type based on the filename. It is a common scenario with webdav clients wherein a temporary files get created with arbitrary  names while being edited. The name of the temporary file is not good enough for inferring it mime-type. For such scenarios, it is needed to detect the mime-type based on the actual contents of the file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)