Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5110

HTTP resources content type are not set when using whiteboard pattern

    XMLWordPrintableJSON

Details

    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)

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            xfournet Xavier Fournet
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: