Adrián Nieto created BROOKLYN-8:
-----------------------------------
Summary: Some REST API methods are not JSON-compliant
Key: BROOKLYN-8
URL: https://issues.apache.org/jira/browse/BROOKLYN-8
Project: Brooklyn
Issue Type: Bug
Reporter: Adrián Nieto
Priority: Minor
REST v1 API methods like Server.version, Server.status are not returning JSON
Objects, although the HTML response content is tagged as JSON. Parsing error
expected.
{noformat}
Request URL
/v1/server/version
Response Body [unable to parse as json; raw response below]
0.7.0-SNAPSHOT
Response Code
200
Response Headers
Content-Encoding: gzip
Server: Jetty(8.1.4.v20120524)
Transfer-Encoding: chunked
Content-Type: application/json
{noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)