PutObjectCommand since you'd want to be able to pass the digest of the file into the if-??? header


4xx response back - so that'll want handlingUncaught (in response) Error: internal error when passing req.headers to R2PutOptions#onlyIfreq.headers to R2GetOptions#range

headers related seems to go virtual addressing style... but even that would then require that the bucket name be used as the subdomain where the worker is deployed, and not let me use any domain... am I understanding correctly?worker.example.combucket-oneid.r2.cloudflarestorage.combucket-twodeletestring[]r2-presigned-url-workerawait env.R2.get(key, {
range: req.headers
});await env.R2.put(key, body, {
onlyIf: req.headers
});