[upload - http-extra] fix: download content to file when unsuccessful response (and test) #1750 (#1783)

* fix and test

* Update Cargo.toml

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* Update Cargo.toml

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* add .change log

* clippy fixes

* print test error

* fix tests

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
This commit is contained in:
Felix Salazar
2024-09-15 23:37:02 +02:00
committed by GitHub
parent 7a37355e17
commit 1d9741b52b
5 changed files with 133 additions and 3 deletions
+4
View File
@@ -35,3 +35,7 @@ read-progress-stream = "1.0.0"
native-tls = ["reqwest/native-tls"]
native-tls-vendored = ["reqwest/native-tls-vendored"]
rustls-tls = ["reqwest/rustls-tls"]
[dev-dependencies]
mockito = "1.5.0"
tokio = { version = "*", features = ["macros"] }