Revision 7912c32e pithos/api/util.py
b/pithos/api/util.py | ||
---|---|---|
121 | 121 |
response['Last-Modified'] = http_date(int(meta['modified'])) |
122 | 122 |
for k in [x for x in meta.keys() if x.startswith('X-Container-Meta-')]: |
123 | 123 |
response[k.encode('utf-8')] = meta[k].encode('utf-8') |
124 |
response['X-Container-Object-Meta'] = [x[14:] for x in meta['object_meta'] if x.startswith('X-Object-Meta-')]
|
|
124 |
response['X-Container-Object-Meta'] = ','.join([x[14:] for x in meta['object_meta'] if x.startswith('X-Object-Meta-')])
|
|
125 | 125 |
response['X-Container-Block-Size'] = backend.block_size |
126 | 126 |
response['X-Container-Block-Hash'] = backend.hash_algorithm |
127 | 127 |
if 'until_timestamp' in meta: |
Also available in: Unified diff