Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-4025

Incorrect JS content-type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.23, 2.1.17, 2.2.9
    • 2.0.24, 2.1.18, 2.2.10
    • None
    • None

    Description

      We maintain some HtmlUnit tests, and I noticed that with MyFaces we've been getting these messages:

      Obsolete content type encountered: 'application/x-javascript'.

      We certainly don't want to be using 'application/x-javascript', since that's a very outdated type. Convention, and our own code, suggests that we should be using the 'text/javascript' MIME type. This is a fairly trivial change.

      Attachments

        1. MYFACES-4025.patch
          0.7 kB
          Bill Lucy

        Activity

          People

            wtlucy Bill Lucy
            wtlucy Bill Lucy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: