felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-5110) HTTP resources content type are not set when using whiteboard pattern
Date Fri, 20 Nov 2015 16:21:11 GMT

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

Mime
View raw message