Feature #14199

Updated by Peter Amstutz 9 months ago

API to instruct keepstore to fetch a remote block, save it, and return signed locator (variation on "proxy a block read request" with the added feature of saving the block).

Proposed API:

Add "X-Refresh-Signature: "X-Locator-Keep: true" this implies the block will be retained by keepstore.

The response includes the header "X-Keep-Locator: abc+123+Aabc"

Do a HEAD request (equivalent to the GET request) on remote signed locator and look for a response header that has a new locator with local block signature.

All keepstore GET and HEAD responses for block requests should support this new header/response

When "X-Refresh-Signature: true" is provided, the timestamp on the underlying block must be updated before a new signature can be returned.

Back