Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
http.base-3.0.0, http.base-3.0.2, http.jetty-3.1.0, http.jetty-3.1.2, http.bridge-3.0.0, http.bridge-3.0.2
-
None
Description
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)