Justin Mutter created JENKINS-13541: ---------------------------------------
Summary: Content Type of JSON API responses is not 'application/json' Key: JENKINS-13541 URL: https://issues.jenkins-ci.org/browse/JENKINS-13541 Project: Jenkins Issue Type: Bug Components: core Environment: Version 1.460 on both OS X 10.7 and 10.5, as well as http://ci.jenkins-ci.org/ Reporter: Justin Mutter When making requests to the JSON API, responses are specifying a content type of *application/javascript* instead of *application/json* as defined in [RFC4627|http://www.ietf.org/rfc/rfc4627.txt] The following is the response form http://ci.jenkins-ci.org/view/Jenkins core/api/json {code} 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 {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira