Revision 756e9de9 kamaki/clients/storage.py
b/kamaki/clients/storage.py | ||
---|---|---|
60 | 60 |
path = path4url(self.account) |
61 | 61 |
r = self.head(path, success=(204, 401)) |
62 | 62 |
if r.status_code == 401: |
63 |
raise ClientError("No authorization") |
|
63 |
raise ClientError("No authorization", status=401)
|
|
64 | 64 |
reply = r.headers |
65 | 65 |
return reply |
66 | 66 |
|
Also available in: Unified diff