OpenStack Identity (Keystone) Middleware
Go to file
Julien Danjou 20fb1dbe5a auth_token: set correct charset when replying with 401
The Content-Type header does not contain the charset used for the
message. It's now required by webob:

  File "/home/jenkins/workspace/gate-gnocchi-tox-db-py35-mysql-ubuntu-xenial/.tox/py35-mysql/lib/python3.5/site-packages/keystonemiddleware/auth_token/__init__.py", line 331, in __call__
    response = self.process_request(req)
  File "/home/jenkins/workspace/gate-gnocchi-tox-db-py35-mysql-ubuntu-xenial/.tox/py35-mysql/lib/python3.5/site-packages/keystonemiddleware/auth_token/__init__.py", line 650, in process_request
    content_type='application/json')
  File "/home/jenkins/workspace/gate-gnocchi-tox-db-py35-mysql-ubuntu-xenial/.tox/py35-mysql/lib/python3.5/site-packages/webob/exc.py", line 268, in __init__'
    **kw)
  File "/home/jenkins/workspace/gate-gnocchi-tox-db-py35-mysql-ubuntu-xenial/.tox/py35-mysql/lib/python3.5/site-packages/webob/response.py", line 310, in __init__'
    "You cannot set the body to a text value without a "
TypeError: You cannot set the body to a text value without a charset

Change-Id: Ia6c667c9afcba0811f51f3e50f34de05310d1433
2016-12-28 16:52:01 +01:00
config-generator generate sample config automatically 2016-05-12 06:38:40 +00:00
doc clean up a few doc building warnings 2016-12-15 13:42:14 +00:00
examples/pki auth_token verify revocation by audit_id 2015-12-17 10:55:58 -06:00
keystonemiddleware auth_token: set correct charset when replying with 401 2016-12-28 16:52:01 +01:00
releasenotes Pass ?allow_expired 2016-12-15 16:15:35 +00:00
.coveragerc Update .coveragerc after the removal of respective directory 2016-10-24 18:03:12 +05:30
.gitignore generate sample config automatically 2016-05-12 06:38:40 +00:00
.gitreview Initial commit 2014-06-19 15:45:29 -07:00
.testr.conf Common base class for unit tests 2015-06-07 10:37:27 -05:00
babel.cfg Initial commit 2014-06-19 15:45:29 -07:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:37 +00:00
HACKING.rst Update python-keystoneclient reference 2014-10-28 22:28:56 -03:00
LICENSE Initial commit 2014-06-19 15:45:29 -07:00
README.rst Show team and repo badges on README 2016-11-25 16:42:17 +01:00
requirements.txt Updated from global requirements 2016-12-15 13:42:20 +00:00
setup.cfg Updated from global requirements 2016-12-07 13:32:26 +00:00
setup.py Updated from global requirements 2015-09-21 18:55:55 +00:00
test-requirements.txt Updated from global requirements 2016-12-15 21:22:43 +00:00
tox.ini Remove oslo-incubator 2016-07-05 10:52:34 +10:00

Team and repository tags

image

Middleware for the OpenStack Identity API (Keystone)

Latest Version

Downloads

This package contains middleware modules designed to provide authentication and authorization features to web services other than Keystone <https://github.com/openstack/keystone>. The most prominent module is keystonemiddleware.auth_token. This package does not expose any CLI or Python API features.

For information on contributing, see CONTRIBUTING.rst.

For any other information, refer to the parent project, Keystone:

https://github.com/openstack/keystone