Revision d065f612 pithos/api/util.py
b/pithos/api/util.py | ||
---|---|---|
100 | 100 |
response['X-Account-Container-Count'] = meta['count'] |
101 | 101 |
if 'bytes' in meta: |
102 | 102 |
response['X-Account-Bytes-Used'] = meta['bytes'] |
103 |
if 'modified' in meta: |
|
104 |
response['Last-Modified'] = http_date(int(meta['modified'])) |
|
103 |
response['Last-Modified'] = http_date(int(meta['modified'])) |
|
105 | 104 |
for k in [x for x in meta.keys() if x.startswith('X-Account-Meta-')]: |
106 | 105 |
response[k.encode('utf-8')] = meta[k].encode('utf-8') |
107 | 106 |
if 'until_timestamp' in meta: |
Also available in: Unified diff