DELETE on the secret resource responding with a 406 when Accept header is application/json
curl -i -v http://localhost:9311/v1/905c7f8b0040416592a79288ecf8d4fc/secrets/a3e5eb75-9865-4376-a278-131d7a2af28b -XDELETE -H "X-Auth-Token:aa923c1ba51846fa838193a7d3b0ca53" -H "Accept: application/json"
* Adding handle: conn: 0xb56c30
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0xb56c30) send_pipe: 1, recv_pipe: 0
* About to connect() to localhost port 9311 (#0)
* Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 9311 (#0)
> DELETE /v1/905c7f8b0040416592a79288ecf8d4fc/secrets/a3e5eb75-9865-4376-a278-131d7a2af28b HTTP/1.1
> User-Agent: curl/7.32.0
> Host: localhost:9311
> X-Auth-Token:aa923c1ba51846fa838193a7d3b0ca53
> Accept: application/json
>
< HTTP/1.1 406 Not Acceptable
HTTP/1.1 406 Not Acceptable
< Content-Type: text/html; charset=UTF-8
Content-Type: text/html; charset=UTF-8
< Content-Length: 61
Content-Length: 61
<
* Connection #0 to host localhost left intact
{"code": 406, "description": null, "title": "Not Acceptable"}
This is seen after the pecan integration.
This is just not true for secret but applicable to all resources.