You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2022/11/14 05:58:00 UTC

[jira] [Closed] (SLING-11669) Don't call mime type service if extension is null

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

Carsten Ziegeler closed SLING-11669.
------------------------------------

> Don't call mime type service if extension is null
> -------------------------------------------------
>
>                 Key: SLING-11669
>                 URL: https://issues.apache.org/jira/browse/SLING-11669
>             Project: Sling
>          Issue Type: Improvement
>          Components: Engine
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: Engine 2.12.2
>
>
> SlingHttpServletRequestImpl.getResponseContentType currently calls the mime type service even if the extension is null. This could be avoided as the mime type service will return null for the mime type anyway



--
This message was sent by Atlassian Jira
(v8.20.10#820010)