ImJasonH
05/03/2022, 1:02 AMJames
05/03/2022, 1:02 AMVitali
05/03/2022, 1:28 AMcontent-encoding: gzip
and your request doesn't have accept-encoding: gzip
, content gets decoded automatically unless cache-control
has a value of no-transform
. `cache-control`/`content-encoding` need not be set at upload time either - you can override cache-control
(& any other predefined system metadata) when issuing the get request as per the S3 GetObject spec.Vitali
05/03/2022, 1:30 AMaccept-encoding
but are expecting the response back. We're eager for feedback if this breaks anyone.
This does not impact Workers bindings because those run on your own zone. You are responsible for either decompressing it within the Worker (& getting billed for the wall time) or asking your customer support rep to turn gzip_respect_no_transform
on for your zone to enable standard-conforming behavior on your zone (I'm not sure if workers.dev zones are candidates for this).ImJasonH
05/03/2022, 1:30 AMandrew
05/03/2022, 2:15 AMandrew
05/03/2022, 2:16 AMcontent-encoding: gzip
, the request doesn't have accept-encoding: gzip
, and it specifies a range in the request, what happens?andrew
05/03/2022, 2:20 AMVitali
05/03/2022, 5:12 AMVitali
05/03/2022, 5:16 AMandrew
05/03/2022, 6:31 AMandrew
05/03/2022, 6:32 AMitsmatteomanf
05/03/2022, 7:38 AMitsmatteomanf
05/03/2022, 11:24 AMlmtr0
05/03/2022, 2:00 PMVitali
05/03/2022, 2:01 PMVitali
05/03/2022, 2:02 PMVitali
05/03/2022, 2:03 PMVitali
05/03/2022, 2:04 PMlmtr0
05/03/2022, 2:10 PM====================
[reqwest::connect][DEBUG] starting new connection: https://982723f0682411a61ffe979a716fd7e1.r2.cloudflarestorage.com/
[reqwest::async_impl::client][DEBUG] response '400 Bad Request' for https://982723f0682411a61ffe979a716fd7e1.r2.cloudflarestorage.com/suite/file.json
<html>
<head><title>400 Bad Request</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<hr><center>cloudflare</center>
</body>
</html>
====================
[reqwest::connect][DEBUG] starting new connection: https://982723f0682411a61ffe979a716fd7e1.r2.cloudflarestorage.com/
[reqwest::async_impl::client][DEBUG] response '400 Bad Request' for https://982723f0682411a61ffe979a716fd7e1.r2.cloudflarestorage.com/suite/file.json
<html>
<head><title>400 Bad Request</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<hr><center>cloudflare</center>
</body>
</html>
lmtr0
05/03/2022, 2:10 PMErisa | Support Engineer
05/03/2022, 2:17 PMVitali
05/03/2022, 2:51 PM400 Bad Request
is not an authorization issuelmtr0
05/03/2022, 2:52 PMlmtr0
05/03/2022, 2:53 PMlmtr0
05/03/2022, 2:53 PMVitali
05/03/2022, 2:53 PMlmtr0
05/03/2022, 2:53 PMlmtr0
05/03/2022, 2:53 PMlmtr0
05/03/2022, 2:53 PM