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)