Commit 9807ff1e authored by Chrysostomos Nanakos's avatar Chrysostomos Nanakos Committed by Christos Stavrakakis
Browse files

pithos: Change object header attribute 'Map-Exists' to 'Available'

parent b719122f
......@@ -243,7 +243,7 @@ def put_object_headers(response, meta, restricted=False, token=None,
response.override_serialization = True
response['Content-Type'] = meta.get('type', 'application/octet-stream')
response['Last-Modified'] = http_date(int(meta['modified']))
response['Map-Exists'] = meta['available']
response['Available'] = meta['available']
response['Map-Checked-At'] = (
http_date(int(meta['map_check_timestamp'])) if
meta['map_check_timestamp'] is not None else '')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment