Revision 6e3e5c84 snf-pithos-app/pithos/api/util.py
b/snf-pithos-app/pithos/api/util.py | ||
---|---|---|
235 | 235 |
response['Content-Type'] = meta.get('type', 'application/octet-stream') |
236 | 236 |
response['Last-Modified'] = http_date(int(meta['modified'])) |
237 | 237 |
response['Available'] = meta['available'] |
238 |
response['Map-Checked-At'] = ( |
|
239 |
http_date(int(meta['map_check_timestamp'])) if |
|
240 |
meta['map_check_timestamp'] is not None else '') |
|
241 | 238 |
if not restricted: |
242 | 239 |
response['X-Object-Hash'] = meta['hash'] |
243 | 240 |
response['X-Object-UUID'] = meta['uuid'] |
Also available in: Unified diff