[ https://issues.apache.org/jira/browse/SLING-975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger updated SLING-975: ------------------------------------ Component/s: Servlets Get Affects Version/s: Servlets Get 2.0.4 Summary: Fix mime type handling in integration tests and default GET servlets (was: Fix wrong MIME type expectations in integration tests) > Fix mime type handling in integration tests and default GET servlets > -------------------------------------------------------------------- > > Key: SLING-975 > URL: https://issues.apache.org/jira/browse/SLING-975 > Project: Sling > Issue Type: Bug > Components: Launchpad, Servlets Get > Affects Versions: Servlets Get 2.0.4, Launchpad Testing 5 > Reporter: Felix Meschberger > Assignee: Felix Meschberger > > Integrationtests fail due to the new MIME type file: > These expect text/xml and get application/xml, where the latter is considered > "more correct" today: > > testEspXml(org.apache.sling.launchpad.webapp.integrationtest.NodetypeRenderingTest) > > testEspXml(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest) > These expected application/x-javascript and get application/javascript: > > > testJavascriptFile(org.apache.sling.launchpad.webapp.integrationtest.StreamServletTest) > > testEspJs(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest) > Since these failures are a result of upgrading our core MIME types file to > the Apache httpd version, I consider the tests wrong and will fix them -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.