Content Type of JSON API responses is not 'application/json'

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When making requests to the JSON API, responses are specifying a content type of application/javascript instead of application/json as defined in RFC4627

      The following is the response form http://ci.jenkins-ci.org/view/Jenkins core/api/json

      HTTP/1.1 200 OK
      Content-Length: 640
      Server: Winstone Servlet Engine v0.9.10
      Content-Type: application/javascript;charset=UTF-8
      Connection: Close
      Date: Sat, 21 Apr 2012 03:55:50 GMT
      X-Powered-By: Servlet/2.5 (Winstone/0.9.10)
      Set-Cookie: SERVERID=Local; path=/
      Cache-Control: private
      

            Assignee:
            Andrey Myatlyuk
            Reporter:
            Justin Mutter
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: