summaryrefslogtreecommitdiff
path: root/swiftclient/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'swiftclient/client.py')
-rw-r--r--swiftclient/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/swiftclient/client.py b/swiftclient/client.py
index 11e65bc..afd85f0 100644
--- a/swiftclient/client.py
+++ b/swiftclient/client.py
@@ -192,8 +192,8 @@ def get_auth_1_0(url, user, key, snet):
{'X-Auth-User': user, 'X-Auth-Key': key})
resp = conn.getresponse()
body = resp.read()
- url = resp.getheader('x-storage-url')
http_log((url, method,), {}, resp, body)
+ url = resp.getheader('x-storage-url')
# There is a side-effect on current Rackspace 1.0 server where a
# bad URL would get you that document page and a 200. We error out