Open calvinrp opened 6 months ago
Are there similar headers for other blobstore providers? I'm good with a PR, especially if you can include the links to multiple providers using this (which I think they do)
GCP Storage R2 and headers
Yep, that looks good to me. Feel free to open a PR
It is common to use conditional headers in blob store API calls to achieve transactional consistency. Operations fail if the condition is not met.
Common ones:
If-Modified-Since
If-Unmodified-Since
If-Match
If-None-Match
For example, see Azure Blob Storage docs.
GET
requests would return anEtag
value that could be used asIf-Match
condition.Any objections to a PR?