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/10 15:08:00 UTC
[jira] [Resolved] (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 resolved SLING-11669.
--------------------------------------
Resolution: Fixed
https://github.com/apache/sling-org-apache-sling-engine/commit/b9abc023272d8c0155e35c93a9bdb61d53928bf5
> 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.13.0
>
>
> 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)