Eran,
Acoles & I talked about how we might sync persistent object metadata via ssync and came up with a header scheme like
X-Object-Metadata-[Key]: [Value] X-Timestamp-Object-Metadata-[Key]: [Timestamp]
So you can just send everything in one post:
for key, (value, timestamp) in metadata.items(): headers.add(object_metadata(key, value)) headers.add(object_metadata_timestamp(key, timestamp))
... you might think about doing that instead of a post for every x-timestamp (which could add up over time)
Eran,
Acoles & I talked about how we might sync persistent object metadata via ssync and came up with a header scheme like
X-Object- Metadata- [Key]: [Value] Object- Metadata- [Key]: [Timestamp]
X-Timestamp-
So you can just send everything in one post:
for key, (value, timestamp) in metadata.items():
headers. add(object_ metadata( key, value))
headers. add(object_ metadata_ timestamp( key, timestamp))
... you might think about doing that instead of a post for every x-timestamp (which could add up over time)