elasticsearch/elasticsearch — pull request #2514 by dadoonet (2012-12-28 13:52:53+00:00)
Title: Get a JSon response when updating cluster settings

Here is a change proposal for the cluster update settings API.

When you PUT new settings, you don't get a JSon answer:

```sh
curl -XPUT localhost:9200/_cluster/settings -d '{
"persistent" : {
"discovery.zen.minimum_master_nodes" : 2
}
}'
```

The change proposal is to get a valid JSon as an answer :

```javascript
{
"ok" : true
}
```

I found this when testing the [elasticsearch SPORE project](https://github.com/dadoonet/spore-elasticsearch). As the answer is an empty string, I can not evaluate the answer as a JSon content.

I hope this could help.