Revision 24851aa5 kamaki/clients/pithos.py
b/kamaki/clients/pithos.py | ||
---|---|---|
656 | 656 |
""" |
657 | 657 |
r = self.account_head(until=until) |
658 | 658 |
if r.status_code == 401: |
659 |
raise ClientError("No authorization") |
|
659 |
raise ClientError("No authorization", status=401)
|
|
660 | 660 |
return r.headers |
661 | 661 |
|
662 | 662 |
def get_account_quota(self): |
Also available in: Unified diff