Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
http.jetty-5.0.0
-
None
Description
Hello everyone,
Resources content-type are no longer defined when using a whiteboard pattern.
It seems to come from the following commit from FELIX-6584 https://github.com/apache/felix-dev/commit/886783ef1fe904c52391aba90171460415ff4f3c. As such it reopened the FELIX-5110 bug.
The Javadoc of ServletContextHelper.getMimeState(String) indicates this as returned value (see Javadoc)
The MIME type (e.g. text/html) of the specified name or null to indicate that the Http Whiteboard implementation should determine the MIME type itself.
Do you think it's possible to bring back the old behavior without breaking FELIX-6584 ? Thank you.