Feature #14199
Updated by Peter Amstutz about 6 years 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-Keep-Sign-Locator: "X-Refresh-Signature: 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-Keep-Sign-Locator: "X-Refresh-Signature: true" is provided, the timestamp on the underlying block must be updated before a new signature can be returned.