Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5021

Static resources need the "application/javascript" content type for javascript files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.5
    • 2.6.9, 2.7.6, 3.0.0-milestone1
    • JAX-RS
    • None
    • Novice

    Description

      The static block of AbstractHTTPServlet (org.apache.cxf.transport.servlet.AbstractHTTPServlet) needs more content types, specifically for javascript files:
      STATIC_CONTENT_TYPES.put("js", "application/javascript");

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            recacha Raúl Recacha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified