James
04/24/2022, 9:58 PMJaex
04/24/2022, 10:39 PMjohn.spurlock
04/24/2022, 11:10 PMrange: bytes=0-0
for the first byte. Range specs are inclusive. Currently there is a validation error that says range range must be positive
for valid requests like thisjohn.spurlock
04/24/2022, 11:19 PMVitali
04/25/2022, 12:42 AMVitali
04/25/2022, 12:45 AMbytes=0-1
?Isaac McFadyen | YYZ01
04/25/2022, 1:23 AMjohn.spurlock
04/25/2022, 1:41 AMcontent-range
in the response is correct (bytes 0-1/n
), but not the status code (should be 206) and it should allow a single byte range (amazon/other servers do etc)albert
04/25/2022, 8:30 AMsha256
checksum in R2PutOptions
along with md5
and sha1
? As far as I am aware, the SHA-256 hash is already calculated as part of verifying the signature when the S3-compatible API is used (x-amz-content-sha256
), so it should just be a matter of checking if the calculated hash matches the client-provided hash.john.spurlock
04/25/2022, 2:23 PMLocationConstraint
included in the payload to CreateBucket
? It seems to take any value.john.spurlock
04/25/2022, 2:46 PMCreateBucket
does not return the expected Location
header in a successful responseVitali
04/25/2022, 3:30 PMVitali
04/25/2022, 3:31 PMjohn.spurlock
04/25/2022, 3:58 PMPutObject
, is bucket lifecycle config supported?john.spurlock
04/25/2022, 3:59 PMVitali
04/25/2022, 4:31 PMVitali
04/25/2022, 4:31 PMjohn.spurlock
04/25/2022, 4:32 PMVitali
04/25/2022, 5:47 PMjohn.spurlock
04/25/2022, 7:44 PMListObjectsV2
seems to return owners for each key by default, they are supposed to be elided in v2 by default, and only enabled with fetch-owner
john.spurlock
04/25/2022, 8:34 PMPutObject
should probably list Content-Type
among the supported headers, since it does appear to be supported by r2vasco-santos
04/25/2022, 8:39 PMThe value cannot be converted because it is not an integer.
error on R2.put()
? I can't get the underneath stack trace to gather more info
It used to work fine, but I started using Worker bindings (request to another worker to get body to store in R2) and now Put fails with such error, but the response from worker binding fetch looks goodJames
04/25/2022, 8:46 PMcompatibility_date
set to in your wrangler.toml
?vasco-santos
04/25/2022, 8:50 PMvasco-santos
04/25/2022, 8:50 PMJames
04/25/2022, 8:51 PMr2_public_beta_bindings
as a specific compat flag anyway - that was my initial thought, since I saw that error quite a bit with the older internal bindings, but haven't run across it with the new bindings yetJames
04/25/2022, 8:51 PMvasco-santos
04/25/2022, 8:52 PMDeleted User
04/25/2022, 8:57 PM