Closed MrFoxPro closed 2 months ago
rustc 1.79.0-nightly rust-s3 master branch garage 1.0.0
let result = self.bucket .put_object_with_content_type(&key, &buffer, "image/avif") .await; dbg!(result);
result = Ok( ResponseData { bytes: b"", status_code: 400, headers: { "content-length": "268", "content-type": "application/xml", "date": "Tue, 23 Apr 2024 06:33:58 GMT", }, }, )
OOps, I just realised there is special feature fail-on-err!. Sori.
fail-on-err
rustc 1.79.0-nightly rust-s3 master branch garage 1.0.0