aboutsummaryrefslogtreecommitdiffstats
path: root/src/errors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/errors.rs')
-rw-r--r--src/errors.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/errors.rs b/src/errors.rs
index 21f8f12..600834b 100644
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -129,6 +129,7 @@ where
let res = fut.await?.map_into_boxed_body();
if (res.status().is_client_error() || res.status().is_server_error())
+ && res.request().path() != "/upload"
&& res
.headers()
.get(header::CONTENT_TYPE)