[ https://issues.apache.org/jira/browse/FELIX-6696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17835605#comment-17835605 ]
Carsten Ziegeler commented on FELIX-6696: ----------------------------------------- I don't remember the exact reason for the change, but I think it was a failing TCK test case. I think it should be possible to bring the behaviour back in some form, but I'll need to check the details > Resources content-type are no longer defined when using a whiteboard pattern > ---------------------------------------------------------------------------- > > Key: FELIX-6696 > URL: https://issues.apache.org/jira/browse/FELIX-6696 > Project: Felix > Issue Type: Bug > Components: HTTP Service > Affects Versions: http.jetty-5.0.0 > Reporter: Antoine DESSAIGNE > Priority: Major > > 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|https://docs.osgi.org/javadoc/osgi.cmpn/8.0.0/org/osgi/service/http/context/ServletContextHelper.html#getMimeType-java.lang.String-]) > > {quote}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.{quote} > Do you think it's possible to bring back the old behavior without breaking > FELIX-6584 ? Thank you. -- This message was sent by Atlassian Jira (v8.20.10#820010)