stapler/stapler — pull request #9 by kukido (2012-06-02 21:14:53+00:00)
Title: [STAPLER-17] Changed content type for JSON flavor to "application/json"

Hi! Please review the change.

While working on https://issues.jenkins-ci.org/browse/JENKINS-13541 I discovered that in Jenkins we set response content type based on the requested flavor and the value is taken from Stapler Framework Flavor enumeration. I have updated Flavor code to make JSON responses from Jenkins compliant with RFC4627 (http://www.ietf.org/rfc/rfc4627.txt)