[ https://issues.apache.org/jira/browse/FELIX-6696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler reassigned FELIX-6696: --------------------------------------- Assignee: Carsten Ziegeler > 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 > Assignee: Carsten Ziegeler > 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)