You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2015/11/20 17:21:11 UTC

[jira] [Resolved] (FELIX-5110) HTTP resources content type are not set when using whiteboard pattern

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

Carsten Ziegeler resolved FELIX-5110.
-------------------------------------
    Resolution: Fixed

Thanks for your patch [~xfournet]. It's applied in rev 1715385

> HTTP resources content type are not set when using whiteboard pattern
> ---------------------------------------------------------------------
>
>                 Key: FELIX-5110
>                 URL: https://issues.apache.org/jira/browse/FELIX-5110
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http.jetty-3.1.0, http.jetty-3.1.2
>            Reporter: Xavier Fournet
>            Assignee: Carsten Ziegeler
>             Fix For: http.base-3.0.4, http.jetty-3.1.4
>
>
> As written in the javadoc of org.osgi.service.http.context.ServletContextHelper#getMimeType, when it return null "the Http Whiteboard implementation should determine the MIME type itself"
> When registering resource through the HTTP service, a similar default mecanism is working well.
> But the whiteboard pattern, no content type is determined at all. This cause problem (eg serving .css with no content type is not accepted by IE)



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