mistral/mistral/auth
Idan Narotzki 1ece440ac5 Adding WWW-Authenticate info.
Sometimes when mistral requests are failing with "401 Unauthorized"
against keycloak, the reason are not mentioned in the logs.

In case keycloack return 401 it must provide the www-Authenticate
response header with the reason:
https://www.w3.org/Protocols/HTTP/1.0/spec.html#WWW-Authenticate

This code take care of it by adding the WWW-Authenticate value to
mistral api-log.

Change-Id: I7ae221aaeb2233184bd4818490e72ff662dca5cb
Closes-Bug: #1737500
2018-04-11 07:24:46 +00:00
..
__init__.py Remove logging import unused 2016-10-11 13:59:59 +07:00
keycloak.py Adding WWW-Authenticate info. 2018-04-11 07:24:46 +00:00
keystone.py Remove unused logging import 2017-05-11 11:45:13 +00:00