Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-10062

http://updates.jenkins-ci.org/update-center.json should returns JSONP and not JSON

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • core
    • None

      http://updates.jenkins-ci.org/update-center.json is actually not a JSON file.
      it is a JSONP file that cannot be used outside of some javascript callback context.
      see also https://issues.jenkins-ci.org/browse/JENKINS-10061

      all languages considered (e.g. python, java) there are many more parsers available for JSON than JSONP, which makes it tough to use. It would be much better if the prefix was not included unless asked.

            kohsuke Kohsuke Kawaguchi
            dnozay Damien Nozay
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: