Secret payload retrieval fails with 406

Bug #1208562 reported by Melissa Kam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Barbican
Fix Released
Undecided
John Wood

Bug Description

Attempting to get a secret's payload with any mime-type is failing with a 406.

Steps to Recreate:
POST http://.../v1/test_tenant/secrets
{
  "name": "AES key",
  "expiration": "2014-02-28T19:14:44.180394",
  "algorithm": "aes",
  "bit_length": 256,
  "cypher_type": "CBC",
  "payload": "gF6+lLoF3ohA9aPRpt+6bQ==",
  "payload_content_type": "application/octet-stream",
  "payload_content_encoding": "base64"
}

GET http://.../v1/test_tenant/secrets/{secret_ref}
Headers:
Accept: application/octet-stream

Response:
406 Not Acceptable
Accept of '[]' is not supported.

John Wood (john-wood-w)
Changed in cloudkeep:
assignee: nobody → John Wood (john-wood-w)
status: New → Fix Released
Revision history for this message
John Vrbanac (john.vrbanac) wrote :

Verified as of Git: 44fcce118d1d7115c8dfbdc1629b29cfb63c4027

Changed in cloudkeep:
milestone: none → havana-3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.