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

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

      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
      

          [JENKINS-13541] Content Type of JSON API responses is not 'application/json'

          Justin Mutter created issue -
          Andrey Myatlyuk made changes -
          Assignee New: Andrey Myatlyuk [ kukido ]
          Andrey Myatlyuk made changes -
          Fix Version/s New: current [ 10162 ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Justin Mutter made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-16069 [ JENKINS-16069 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 144007 ] New: JNJira + In-Review [ 205810 ]

            kukido Andrey Myatlyuk
            jmutter Justin Mutter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: