)]}'
{"barbican/plugin/interface/secret_store.py":[{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"a64de062f4dea4305abeb7648e930383e188c9ea","unresolved":false,"context_lines":[{"line_number":156,"context_line":"class SecretAcceptNotSupportedException(exception.BarbicanHTTPException):"},{"line_number":157,"context_line":"    \"\"\"Raised when requested decrypted content-type is not available.\"\"\""},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"    client_message \u003d \"\""},{"line_number":160,"context_line":"    status_code \u003d 400"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"    def __init__(self, accept):"}],"source_content_type":"text/x-python","patch_set":1,"id":"7aa08908_a40e5de2","line":159,"updated":"2016-06-08 17:21:18.000000000","message":"Not necessary, a default client message already exists in parent class.","commit_id":"0373971d2eb2547b3b38c60f958671a36198d266"},{"author":{"_account_id":10873,"name":"Juan Antonio Osorio Robles","email":"jaosorior@redhat.com","username":"ejuaoso"},"change_message_id":"fa203869dc5fa4346b9ebe8fde0e150f55a16234","unresolved":false,"context_lines":[{"line_number":157,"context_line":"    \"\"\"Raised when requested decrypted content-type is not available.\"\"\""},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"    client_message \u003d \"\""},{"line_number":160,"context_line":"    status_code \u003d 400"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"    def __init__(self, accept):"},{"line_number":163,"context_line":"        super(SecretAcceptNotSupportedException, self).__init__("}],"source_content_type":"text/x-python","patch_set":1,"id":"7aa08908_f5e5fc08","line":160,"updated":"2016-06-13 10:35:36.000000000","message":"uhm... maybe this should be 406 instead http://www.checkupdown.com/status/E406.html","commit_id":"0373971d2eb2547b3b38c60f958671a36198d266"}],"functionaltests/api/v1/functional/test_secrets.py":[{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"a64de062f4dea4305abeb7648e930383e188c9ea","unresolved":false,"context_lines":[{"line_number":247,"context_line":"        test_model \u003d secret_models.SecretModel("},{"line_number":248,"context_line":"            **self.default_secret_create_data)"},{"line_number":249,"context_line":""},{"line_number":250,"context_line":"        resp, secret_ref \u003d self.behaviors.create_secret(test_model)"},{"line_number":251,"context_line":"        resp \u003d self.behaviors.get_secret(secret_ref,"},{"line_number":252,"context_line":"                                         payload_content_type\u003d\"text/plain\")"},{"line_number":253,"context_line":"        self.assertEqual(resp.status_code, 400)"}],"source_content_type":"text/x-python","patch_set":1,"id":"7aa08908_219fff5f","line":250,"updated":"2016-06-08 17:21:18.000000000","message":"Response is still returning at 200. I think this is because \"text/plain\" is still a valid content type. See \n\nhttps://github.com/openstack/barbican/blob/master/barbican/plugin/util/mime_types.py#L90-L92\n\nand\n\nhttps://github.com/openstack/barbican/blob/master/barbican/plugin/util/mime_types.py#L34","commit_id":"0373971d2eb2547b3b38c60f958671a36198d266"}]}
