Files
deb-python-mistralclient/mistralclient/api
Lingxian Kong ce87eedb2c Show exact error message when authentication falied instead of HTML body
When using pecan.abort() on server side, client side will see response
bodies for HTTP errors, which is not readable for end users.

This patch will let mistral client extract error message from header
returned by mistral serivce, currently, it's only used for
authentication failure.

Closes-Bug: #1502840
Change-Id: I20a7f845676ffe23d93334d171332d717994d937
(cherry picked from commit a5e1e73e83)
2015-10-13 09:07:56 +00:00
..