v2 #2

Merged
dzu merged 12 commits from dev into main 2026-02-21 10:51:46 +01:00
Showing only changes of commit 03a207d32a - Show all commits

fix: 200OK is not an error

Artem Diachenko 2026-02-20 09:44:36 +00:00

View file

@ -279,7 +279,7 @@ impl Client {
.body_mut()
.read_to_end(&mut body)
.context("reading response body")?;
if status == StatusCode::OK {
if status != StatusCode::OK {
bail!(
"Failed downloading the cache (status {status}): {:?}",
str::from_utf8(&body)