Merge "Fix X-Auth_Token -> X-Auth-Token header name"

This commit is contained in:
Jenkins 2013-04-07 10:37:24 +00:00 committed by Gerrit Code Review
commit c5f542fd5a

View File

@ -247,7 +247,7 @@ class HTTPClient(object):
% (self.proxy_token, self.proxy_tenant_id)])
self._logger.debug("Using Endpoint URL: %s" % url)
resp, body = self.request(url, "GET",
headers={'X-Auth_Token': self.auth_token})
headers={'X-Auth-Token': self.auth_token})
return self._extract_service_catalog(url, resp, body,
extract_token=False)