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

Felix Meschberger commented on SLING-965:
-----------------------------------------

The MIME types are read by the MimeType service from all bundles containing 
"META-INF/mime.types" files. As such the actual MIME type configuration mainly 
depends on the bundles registered and thus exposure of these as OSGi 
configuration does not make sense.

But, we could extend the MimeTypeService as follows

  * Plug into the web console listing all known MIME types
  * Add configuration support to add mime types by configuration

> MimeTypeService: expose default mime types config in osgi web console
> ---------------------------------------------------------------------
>
>                 Key: SLING-965
>                 URL: https://issues.apache.org/jira/browse/SLING-965
>             Project: Sling
>          Issue Type: Improvement
>          Components: Commons MimeType
>    Affects Versions: Commons Mime 2.0.2
>            Reporter: Dominique Jäggi
>            Priority: Minor
>
> please consider exposing the default mime types currently being defined in 
> launchpad's web.xml as an OSGi configuration accessible through the web 
> console or repository based content configuration.

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