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

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

Xavier Fournet created FELIX-5110:
-------------------------------------

             Summary: 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.2, http.jetty-3.1.0
            Reporter: Xavier Fournet


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)