liujiong 8bef6b47a5 Change SecretAcceptNotSupportedException from exception.BarbicanException to exception.BarbicanHTTPException
When retrieving secret's payload without providing payload_content_type,
if the payload_content_type is not default as "text/plain", we get 500 error.
Since this is generated by invalid input, we should mark this as 406 error.

Closes-bug: #1590097
Change-Id: I9ca94b7c66995991a9b0df37a46bd082e9795b74
2016-06-14 14:32:27 +08:00
..
2015-12-07 14:27:45 -06:00
2016-05-13 09:52:06 -05:00
2015-06-08 14:32:08 -05:00
2016-03-02 21:44:28 +00:00