Yes, you right. Original here: https://github.com/openstack/keystone/blob/stable/havana/httpd/keystone.py
But this version got a little changes.