
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